summaryrefslogtreecommitdiff
path: root/board/isee/igep0020/igep0020.c
diff options
context:
space:
mode:
authorEnric Balletbò i Serra <eballetbo@gmail.com>2012-03-05 11:32:16 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:23 +0200
commitdc7a9e64bfdd0504e1a985b6a6121ed1b5a015d7 (patch)
tree721e06e9c0cbf444fac0688d3310e60e2b4afa7b /board/isee/igep0020/igep0020.c
parentf2ae6c1a83e194dfd0fc93348efe598353f3c02d (diff)
downloadu-boot-imx-dc7a9e64bfdd0504e1a985b6a6121ed1b5a015d7.zip
u-boot-imx-dc7a9e64bfdd0504e1a985b6a6121ed1b5a015d7.tar.gz
u-boot-imx-dc7a9e64bfdd0504e1a985b6a6121ed1b5a015d7.tar.bz2
OMAP3: igep00x0: Reduce lines of code for IGEP-based boards.
This is rework on config files of IGEP-based boards with the aim to remove duplicated code to be more maintainable. Basically this patch creates a common configuration file for both boards and only sets the specific option in the board config file. On board files the hardcored mach type was replaced in favour of using the CONFIG_MACH_TYPE option. More than 200 duplicated lines have been deleted. Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Diffstat (limited to 'board/isee/igep0020/igep0020.c')
-rw-r--r--board/isee/igep0020/igep0020.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/isee/igep0020/igep0020.c b/board/isee/igep0020/igep0020.c
index 1919085..971e31b 100644
--- a/board/isee/igep0020/igep0020.c
+++ b/board/isee/igep0020/igep0020.c
@@ -52,8 +52,6 @@ static const u32 gpmc_lan_config[] = {
int board_init(void)
{
gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
- /* board id for Linux */
- gd->bd->bi_arch_number = MACH_TYPE_IGEP0020;
/* boot param addr */
gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);