diff options
author | Simon Guinot <[simon@sequanux.org]> | 2011-11-01 16:44:12 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-11-03 22:56:22 +0100 |
commit | f697997a4f9bd88d6a9dcf80115056af55031c58 (patch) | |
tree | f69e142e88650b5b4e689692b9af958b99e9cec7 /include/configs/netspace_v2.h | |
parent | abbbbdd7e1232cfe5ccde8da9d4cc1fa609f8456 (diff) | |
download | u-boot-imx-f697997a4f9bd88d6a9dcf80115056af55031c58.zip u-boot-imx-f697997a4f9bd88d6a9dcf80115056af55031c58.tar.gz u-boot-imx-f697997a4f9bd88d6a9dcf80115056af55031c58.tar.bz2 |
netspace_v2: fix SDRAM configuration
Network Space (Max) v2 and Internet Space v2 boards have different
SDRAM configuration and size: respectively 256MB (DDR2 1Gb, 128Mbx8
organisation) and 128MB (DDR2 512Mb, 64Mbx8 organisation). To handle
the differences, this patch add a dedicated kwimage.cfg file for
Internet Space v2.
Additionnaly the number of SDRAM banks is fixed.
Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
Diffstat (limited to 'include/configs/netspace_v2.h')
-rw-r--r-- | include/configs/netspace_v2.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/configs/netspace_v2.h b/include/configs/netspace_v2.h index 82a1233..5790602 100644 --- a/include/configs/netspace_v2.h +++ b/include/configs/netspace_v2.h @@ -60,11 +60,16 @@ */ #define CONFIG_SYS_TCLK 166000000 /* 166MHz */ +#define CONFIG_NR_DRAM_BANKS 1 +#ifdef CONFIG_INETSPACE_V2 +/* Different SDRAM configuration and size for Internet Space v2 */ +#define CONFIG_SYS_KWD_CONFIG ($(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage-is2.cfg) +#endif + /* * mv-common.h should be defined after CMD configs since it used them * to enable certain macros */ -#define CONFIG_NR_DRAM_BANKS 2 #include "mv-common.h" /* Remove or override few declarations from mv-common.h */ |