arm: nvidia and smdk6400: use common code for machine type

NVIDIA boards and Samsung SMDK6400 already use a local variant of
CONFIG_MACH_TYPE option.
Switch to use the new common code.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
Igor Grinberg 2011-07-03 23:00:20 +00:00 committed by Albert ARIBAUD
parent f37586bb14
commit 221a0666db
3 changed files with 1 additions and 4 deletions

View file

@ -318,8 +318,6 @@ int board_init(void)
{
/* boot param addr */
gd->bd->bi_boot_params = (NV_PA_SDRAM_BASE + 0x100);
/* board id for Linux */
gd->bd->bi_arch_number = CONFIG_MACH_TYPE;
return 0;
}

View file

@ -72,7 +72,6 @@ int board_init(void)
/* Enable WAIT */
SROM_BW_REG |= 4 | 8 | 1;
gd->bd->bi_arch_number = MACH_TYPE;
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
return 0;

View file

@ -65,7 +65,7 @@
/*
* Architecture magic and machine type
*/
#define MACH_TYPE 1270
#define CONFIG_MACH_TYPE 1270
#define CONFIG_DISPLAY_CPUINFO
#define CONFIG_DISPLAY_BOARDINFO