igep00x0: move sysinfo into C file
authorLadislav Michl <ladis@linux-mips.org>
Tue, 12 Jul 2016 18:28:27 +0000 (20:28 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Jul 2016 18:46:15 +0000 (14:46 -0400)
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
board/isee/igep00x0/igep00x0.c
board/isee/igep00x0/igep00x0.h

index d1a6a6f56f0211da5f8424ca95d64783150f661e..0ad5123ff92f76808443f22ed25c510cc765fd16 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
+const omap3_sysinfo sysinfo = {
+       DDR_STACKED,
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
+       "IGEPv2",
+#endif
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
+       "IGEP COM MODULE/ELECTRON",
+#endif
+#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
+       "IGEP COM PROTON",
+#endif
+#if defined(CONFIG_ENV_IS_IN_ONENAND)
+       "ONENAND",
+#else
+       "NAND",
+#endif
+};
+
 #if defined(CONFIG_CMD_NET)
 /* GPMC definitions for LAN9221 chips */
 static const u32 gpmc_lan_config[] = {
index 3c7ff9b1488a25ed2bec2fea417a1fdf57e45687..e47ee66d019f6401d02e89fc59ba49d2f18dedaf 100644 (file)
@@ -7,24 +7,6 @@
 #ifndef _IGEP00X0_H_
 #define _IGEP00X0_H_
 
-const omap3_sysinfo sysinfo = {
-       DDR_STACKED,
-#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0020)
-       "IGEPv2",
-#endif
-#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0030)
-       "IGEP COM MODULE/ELECTRON",
-#endif
-#if (CONFIG_MACH_TYPE == MACH_TYPE_IGEP0032)
-       "IGEP COM PROTON",
-#endif
-#if defined(CONFIG_ENV_IS_IN_ONENAND)
-       "ONENAND",
-#else
-       "NAND",
-#endif
-};
-
 static void setup_net_chip(void);
 
 /*