summaryrefslogtreecommitdiffstats
path: root/board/isee
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-07-28 01:19:32 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:11 +0200
commitca511cfb2a7ce9d431811efab11165b6b088f0e0 (patch)
treef0f963786111852bc5f65d2264fdd39e16fe9fc5 /board/isee
parent9304296044337353181742ca7b9827ca5d5ce9c2 (diff)
downloadblackbird-obmc-uboot-ca511cfb2a7ce9d431811efab11165b6b088f0e0.tar.gz
blackbird-obmc-uboot-ca511cfb2a7ce9d431811efab11165b6b088f0e0.zip
OMAP3: igep00x0: Add config option to choose flash storage memory
IGEP-based boards can have two different flash memories, a OneNAND or a NAND device. Add a configuration option for to choose which memory to use. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Acked-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Diffstat (limited to 'board/isee')
-rw-r--r--board/isee/igep0020/igep0020.h4
-rw-r--r--board/isee/igep0030/igep0030.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/board/isee/igep0020/igep0020.h b/board/isee/igep0020/igep0020.h
index 3d6e15fb73..3335ecc787 100644
--- a/board/isee/igep0020/igep0020.h
+++ b/board/isee/igep0020/igep0020.h
@@ -26,7 +26,11 @@
const omap3_sysinfo sysinfo = {
DDR_STACKED,
"IGEP v2 board",
+#if defined(CONFIG_ENV_IS_IN_ONENAND)
"ONENAND",
+#else
+ "NAND",
+#endif
};
static void setup_net_chip(void);
diff --git a/board/isee/igep0030/igep0030.h b/board/isee/igep0030/igep0030.h
index b7ce5aa663..a93339daab 100644
--- a/board/isee/igep0030/igep0030.h
+++ b/board/isee/igep0030/igep0030.h
@@ -26,7 +26,11 @@
const omap3_sysinfo sysinfo = {
DDR_STACKED,
"OMAP3 IGEP module",
+#if defined(CONFIG_ENV_IS_IN_ONENAND)
"ONENAND",
+#else
+ "NAND",
+#endif
};
/*
OpenPOWER on IntegriCloud