mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-29 05:18:51 +09:00
![Marek Vasut](/assets/img/avatar_default.png)
Scrub duplicate /memory@* node entries here. Some R-Car DTs might contain multiple /memory@* nodes, however fdt_fixup_memory_banks() either generates single /memory node or updates the first /memory node. Any remaining memory nodes are thus potential duplicates. However, it is not possible to delete all the memory nodes right away, since some of those might not be DRAM memory nodes, but some sort of other memory. Thus, delete only the memory nodes which are in the R-Car3 DBSC ranges. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
48 lines
926 B
Plaintext
48 lines
926 B
Plaintext
if ARCH_RMOBILE
|
|
|
|
choice
|
|
prompt "Target Renesas SoC select"
|
|
default RCAR_32
|
|
|
|
config RCAR_32
|
|
bool "Renesas ARM SoCs R-Car Gen1/Gen2 (32bit)"
|
|
select CPU_V7A
|
|
|
|
config RCAR_GEN3
|
|
bool "Renesas ARM SoCs R-Car Gen3 (64bit)"
|
|
select ARM64
|
|
select PHY
|
|
select CMD_CACHE
|
|
select OF_BOARD_SETUP
|
|
select PINCTRL
|
|
select PINCONF
|
|
select PINCTRL_PFC
|
|
select SUPPORT_SPL
|
|
imply CMD_FS_UUID
|
|
imply CMD_GPT
|
|
imply CMD_UUID
|
|
imply CMD_MMC_SWRITE if MMC
|
|
imply SUPPORT_EMMC_RPMB if MMC
|
|
imply SPL
|
|
imply SPL_BOARD_INIT
|
|
imply SPL_GZIP
|
|
imply SPL_LIBCOMMON_SUPPORT
|
|
imply SPL_LIBGENERIC_SUPPORT
|
|
imply SPL_SERIAL_SUPPORT
|
|
imply SPL_SYS_MALLOC_SIMPLE
|
|
imply SPL_TINY_MEMSET
|
|
imply SPL_YMODEM_SUPPORT
|
|
imply SPL_USE_TINY_PRINTF
|
|
|
|
config RZA1
|
|
prompt "Renesas ARM SoCs RZ/A1 (32bit)"
|
|
select CPU_V7A
|
|
|
|
endchoice
|
|
|
|
source "arch/arm/mach-rmobile/Kconfig.32"
|
|
source "arch/arm/mach-rmobile/Kconfig.64"
|
|
source "arch/arm/mach-rmobile/Kconfig.rza1"
|
|
|
|
endif
|