summaryrefslogtreecommitdiff
path: root/board/isee/igep0020/igep0020.h
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/igep0020/igep0020.h
parent9304296044337353181742ca7b9827ca5d5ce9c2 (diff)
downloadu-boot-imx-ca511cfb2a7ce9d431811efab11165b6b088f0e0.zip
u-boot-imx-ca511cfb2a7ce9d431811efab11165b6b088f0e0.tar.gz
u-boot-imx-ca511cfb2a7ce9d431811efab11165b6b088f0e0.tar.bz2
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/igep0020/igep0020.h')
-rw-r--r--board/isee/igep0020/igep0020.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/isee/igep0020/igep0020.h b/board/isee/igep0020/igep0020.h
index 3d6e15f..3335ecc 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);