ARM: renesas: Scrub duplicate memory nodes from DT on Gen3
Subsystems (3)
PATCH 1/1 ARM: renesas: Scrub duplicate memory nodes from DT on Gen3
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 <[email protected]>
--- arch/arm/mach-rmobile/Kconfig | 1 + board/renesas/rcar-common/common.c | 80 ++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+)
arch/arm/mach-rmobile/Kconfig +1 -0
@@ -13,6 +13,7 @@ config RCAR_GEN3 select ARM64 select PHY select CMD_CACHE + select OF_BOARD_SETUP select PINCTRL select PINCONF select PINCTRL_PFC
board/renesas/rcar-common/common.c +80 -0
84 lines not on this page · raw message
Signature · 1 line
2.30.2