Message ID | 2fc8f2e043ec6ccb6fe0949313d7079246565b2e.1594379807.git.michal.simek@xilinx.com |
---|---|
State | Accepted |
Commit | 2feb4ea9dd8d262b11054a7a0ab346886a3ae1e3 |
Headers | show |
Series | lib: fdt: Remove two functions from fdtdec.c | expand |
On Fri, 10 Jul 2020 at 05:16, Michal Simek <michal.simek at xilinx.com> wrote: > > 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 at xilinx.com> > --- > > board/renesas/rcar-common/common.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass <sjg at chromium.org>
diff --git a/board/renesas/rcar-common/common.c b/board/renesas/rcar-common/common.c index 46dcea1f901c..5201f77e53ce 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; }
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 at xilinx.com> --- board/renesas/rcar-common/common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)