summaryrefslogtreecommitdiff
path: root/board/inka4x0/inka4x0.c
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2007-11-15 13:29:55 +0100
committerMarian Balakowicz <m8@semihalf.com>2007-11-15 13:29:55 +0100
commit5fb6d7191e206cdde0e23140fd8111caed93a595 (patch)
tree957d4bec905f329c786ff5d3785462a527576e72 /board/inka4x0/inka4x0.c
parentf23cb34c367bb27585a4fdb8a75277370e7d0596 (diff)
downloadu-boot-imx-5fb6d7191e206cdde0e23140fd8111caed93a595.zip
u-boot-imx-5fb6d7191e206cdde0e23140fd8111caed93a595.tar.gz
u-boot-imx-5fb6d7191e206cdde0e23140fd8111caed93a595.tar.bz2
[INKA4x0] NG hardware: SDRAM support
Add support for three new DDR chips that may be present on a NG INKA4x0 hardware: HYB25D512160BF-5, K4H511638C-7CB3, T46V32M16BN-6IT. Cleanup board/inka4x0/mt48lc16m16a2-75.h file. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'board/inka4x0/inka4x0.c')
-rw-r--r--board/inka4x0/inka4x0.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/board/inka4x0/inka4x0.c b/board/inka4x0/inka4x0.c
index c80fc3b..5157f7d 100644
--- a/board/inka4x0/inka4x0.c
+++ b/board/inka4x0/inka4x0.c
@@ -31,10 +31,18 @@
#include <mpc5xxx.h>
#include <pci.h>
-#if defined(CONFIG_MPC5200_DDR)
+#if defined(CONFIG_DDR_MT46V16M16)
#include "mt46v16m16-75.h"
-#else
+#elif defined(CONFIG_SDR_MT48LC16M16A2)
#include "mt48lc16m16a2-75.h"
+#elif defined(CONFIG_DDR_MT46V32M16)
+#include "mt46v32m16.h"
+#elif defined(CONFIG_DDR_HYB25D512160BF)
+#include "hyb25d512160bf.h"
+#elif defined(CONFIG_DDR_K4H511638C)
+#include "k4h511638c.h"
+#else
+#error "INKA4x0 SDRAM: invalid chip type specified!"
#endif
#ifndef CFG_RAMBOOT