diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2016-07-12 20:28:27 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-22 14:46:15 -0400 |
commit | b7e042d6af8263d03a8770cda999eed308192def (patch) | |
tree | 77e8c3bf4c3f34c7643b12cfc22338aaedf7c64e /board/isee | |
parent | af32443656b64a9cbe5a2cdd9389225773b8e4d9 (diff) | |
download | u-boot-b7e042d6af8263d03a8770cda999eed308192def.zip u-boot-b7e042d6af8263d03a8770cda999eed308192def.tar.gz u-boot-b7e042d6af8263d03a8770cda999eed308192def.tar.bz2 |
igep00x0: move sysinfo into C file
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Diffstat (limited to 'board/isee')
-rw-r--r-- | board/isee/igep00x0/igep00x0.c | 18 | ||||
-rw-r--r-- | board/isee/igep00x0/igep00x0.h | 18 |
2 files changed, 18 insertions, 18 deletions
diff --git a/board/isee/igep00x0/igep00x0.c b/board/isee/igep00x0/igep00x0.c index d1a6a6f..0ad5123 100644 --- a/board/isee/igep00x0/igep00x0.c +++ b/board/isee/igep00x0/igep00x0.c @@ -21,6 +21,24 @@ 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[] = { diff --git a/board/isee/igep00x0/igep00x0.h b/board/isee/igep00x0/igep00x0.h index 3c7ff9b..e47ee66 100644 --- a/board/isee/igep00x0/igep00x0.h +++ b/board/isee/igep00x0/igep00x0.h @@ -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); /* |