diff options
author | Michal Simek | 2020-07-10 13:16:48 +0200 |
---|---|---|
committer | Simon Glass | 2020-07-25 14:46:57 -0600 |
commit | 988341d84ad75aa302ae342b44dff041f54c334f (patch) | |
tree | 710056d695ad55f2e75172d78e33715b5a67d12b /board/renesas/rcar-common/common.c | |
parent | e5ff9ab70a0409b1a3d263de7346f46568565ba5 (diff) |
ARM: rmobile: Switch back to fdtdec_setup_memory/banksize_fdt()
The commit 361377dbdbc9 ("ARM: rmobile: Merge prior-stage firmware DT
fragment into U-Boot DT on Gen3") reverted changes introduced by commit
175f5027345c ("ARM: renesas: Configure DRAM size from ATF DT fragment")
that's why there is no reason to use functions with _fdt() suffix because
parameter is gd->fdt_blob as is already for functions without _fdt()
suffix.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/renesas/rcar-common/common.c')
-rw-r--r-- | board/renesas/rcar-common/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/renesas/rcar-common/common.c b/board/renesas/rcar-common/common.c index 9f50f36982d..83dd2888470 100644 --- a/board/renesas/rcar-common/common.c +++ b/board/renesas/rcar-common/common.c @@ -33,12 +33,12 @@ int fdtdec_board_setup(const void *fdt_blob) int dram_init(void) { - return fdtdec_setup_mem_size_base_fdt(gd->fdt_blob); + return fdtdec_setup_mem_size_base(); } int dram_init_banksize(void) { - fdtdec_setup_memory_banksize_fdt(gd->fdt_blob); + fdtdec_setup_memory_banksize(); return 0; } |