1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

powerpc: move ADDR_MAP to Kconfig

Move ADDR_MAP related config options from include/configs/*.h to the
proper place in lib/Kconfig. This has been done using
./tools/moveconfig.py and manual inspection of the generated changes.
This is a preparation to use ADDR_MAP helper on ARM 32bit Raspberry Pi4
board for mapping the PCIe XHCI MMIO, which is above the 4GiB identity
mapping limit.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Marek Szyprowski
2020-06-03 14:43:40 +02:00
committed by Tom Rini
parent 506d52308a
commit 69be8fd164
144 changed files with 226 additions and 74 deletions

View File

@@ -1,5 +1,18 @@
menu "Library routines"
config ADDR_MAP
bool "Enable support for non-identity virtual-physical mappings"
help
Enables helper code for implementing non-identity virtual-physical
memory mappings for 32bit CPUs.
config SYS_NUM_ADDR_MAP
int "Size of the address-map table"
depends on ADDR_MAP
default 16
help
Sets the number of entries in the virtual-physical mapping table.
config BCH
bool "Enable Software based BCH ECC"
help