ARM: at91: sama5d2: read back memory size from DDRAM controller
We hard code memory size at three places: - In the configuration we use to initialize the DDRAM controller - In the minimal available size passed from PBL to barebox proper - In the device tree memory node override Remove the two latter ones and replace them with code that reads the size back from controller. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
arch/arm/boards/sama5d27-giantboard/lowlevel.c |
---|
arch/arm/boards/sama5d27-som1/lowlevel.c |
---|
arch/arm/dts/at91-sama5d27_giantboard.dts |
---|
arch/arm/dts/at91-sama5d27_som1_ek.dts |
---|
arch/arm/dts/sama5d2.dtsi |
---|
arch/arm/mach-at91/Kconfig |
---|
arch/arm/mach-at91/Makefile |
---|
arch/arm/mach-at91/ddramc.c 0 → 100644 |
---|
arch/arm/mach-at91/include/mach/ddramc.h |
---|