rpi: Enable DRAM bank initialization on arm64
authorMatthias Brugger <mbrugger@suse.com>
Thu, 5 Dec 2019 17:53:14 +0000 (18:53 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:19:26 +0000 (11:19 +0100)
commitf9dbf5f979eb073c8df5d148fa75ffcd4e8e65dc
treeb85f4010d086a4c8c531ba2b71af7677ecb6831f
parent02f063a16c2bba0a9f64d95bc43a540603baac6f
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")
Change-Id: Id7f3fec63777360d4536b836d98ad77f4b3a5a4e
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
board/raspberrypi/rpi/rpi.c