diff options
author | Juergen Beisert <juergen@kreuzholzen.de> | 2009-10-27 19:57:36 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-10-28 09:44:42 +0100 |
commit | 8a7f83735549d4edd49f608c922780e03cadc062 (patch) | |
tree | efbefa770eeb259cc0d9b7a9835e2bc08b5eb0e0 /arch/arm/configs/a9m2440_defconfig | |
parent | 07d6c14898606c1b41ac43213ad5c59f8c120339 (diff) | |
download | barebox-8a7f83735549d4edd49f608c922780e03cadc062.tar.gz barebox-8a7f83735549d4edd49f608c922780e03cadc062.tar.xz |
A9M2440: Use external GPIO settings to setup the SDRAM
The generic A9M2440 comes in many SDRAM variantes. Two GPIO pins describing
the populated SDRAM devices. This patch adds some code to query the setting
and setup a correct SDRAM configuration out of four possible variants.
Due to the lack of hardware the 16 MiB and 128 MiB case is untested yet.
Due to the 32 MiB configuration we must link the u-boot-v2 always to
address 0x31fc0000. Even for the 64 MiB and 128 MiB configuration.
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
Diffstat (limited to 'arch/arm/configs/a9m2440_defconfig')
-rw-r--r-- | arch/arm/configs/a9m2440_defconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/configs/a9m2440_defconfig b/arch/arm/configs/a9m2440_defconfig index 5d8a39861f..5d4d2bd355 100644 --- a/arch/arm/configs/a9m2440_defconfig +++ b/arch/arm/configs/a9m2440_defconfig @@ -3,7 +3,7 @@ # U-Boot version: 2.0.0-rc9 # Wed Jul 1 14:23:41 2009 # -CONFIG_ARCH_TEXT_BASE=0x33fc0000 +CONFIG_ARCH_TEXT_BASE=0x31fc0000 CONFIG_BOARDINFO="Digi A9M2440" # CONFIG_BOARD_LINKER_SCRIPT is not set CONFIG_GENERIC_LINKER_SCRIPT=y @@ -63,7 +63,7 @@ CONFIG_LOCALVERSION_AUTO=y # memory layout # CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y -CONFIG_TEXT_BASE=0x33fc0000 +CONFIG_TEXT_BASE=0x31fc0000 CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y CONFIG_MEMORY_LAYOUT_DEFAULT=y # CONFIG_MEMORY_LAYOUT_FIXED is not set |