mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-31 06:18:51 +09:00
![Marek Szyprowski](/assets/img/avatar_default.png)
Create a non-cacheable mapping for the 0x600000000 physical memory region, where MMIO registers for the PCIe XHCI controller are instantiated by the PCIe bridge. Due to 32bit limit in the CPU virtual address space in ARM 32bit mode, this region is mapped at 0xff800000 CPU virtual address. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
20 lines
361 B
C
20 lines
361 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* (C) Copyright 2019 Matthias Brugger
|
|
*/
|
|
|
|
#ifndef _BCM283x_BASE_H_
|
|
#define _BCM283x_BASE_H_
|
|
|
|
extern unsigned long rpi_bcm283x_base;
|
|
|
|
#ifdef CONFIG_ARMV7_LPAE
|
|
#ifdef CONFIG_TARGET_RPI_4_32B
|
|
#include <addr_map.h>
|
|
#define phys_to_virt addrmap_phys_to_virt
|
|
#define virt_to_phys addrmap_virt_to_phys
|
|
#endif
|
|
#endif
|
|
|
|
#endif
|