]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: rmobile: Switch back to fdtdec_setup_memory/banksize_fdt()
authorMichal Simek <michal.simek@xilinx.com>
Fri, 10 Jul 2020 11:16:48 +0000 (13:16 +0200)
committerSimon Glass <sjg@chromium.org>
Mon, 20 Jul 2020 17:37:47 +0000 (11:37 -0600)
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>
board/renesas/rcar-common/common.c

index 9f50f36982d2792a9831553b196d6f3416b5ded5..83dd2888470538a0630f26ef342d9e1adcc82a30 100644 (file)
@@ -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;
 }