From dc7a9e64bfdd0504e1a985b6a6121ed1b5a015d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enric=20Balletb=C3=B2=20i=20Serra?= Date: Mon, 5 Mar 2012 11:32:16 +0000 Subject: 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 --- board/isee/igep0020/igep0020.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'board/isee/igep0020/igep0020.c') diff --git a/board/isee/igep0020/igep0020.c b/board/isee/igep0020/igep0020.c index 1919085d5c..971e31b5f3 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); -- cgit v1.2.1