mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
rpi: Enable DRAM bank initialization on arm64
Up to now we only update the DRAM banks when we are define
CONFIG_BCM2711. But our one binary approach uses a config that supports
BCM2837 and BCM2711. As a result we only see one gibibyte of RAM on
Raspberry Pi 4, even if it has more RAM.
Fix this by calling dram_init_banksize.
Fixes: 5694090670
("ARM: defconfig: add unified config for RPi3 and RPi4")
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
This commit is contained in:
parent
e19cfcc07a
commit
a63f81c242
1 changed files with 0 additions and 2 deletions
|
@ -272,7 +272,6 @@ int dram_init(void)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_OF_BOARD
|
||||
#ifdef CONFIG_BCM2711
|
||||
int dram_init_banksize(void)
|
||||
{
|
||||
int ret;
|
||||
|
@ -284,7 +283,6 @@ int dram_init_banksize(void)
|
|||
return fdtdec_setup_mem_size_base();
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void set_fdtfile(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue