mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
ARM: rmobile: Switch back to fdtdec_setup_memory/banksize_fdt()
The commit361377dbdb
("ARM: rmobile: Merge prior-stage firmware DT fragment into U-Boot DT on Gen3") reverted changes introduced by commit175f502734
("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>
This commit is contained in:
parent
3ce7f75f78
commit
2feb4ea9dd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue