mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
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:
parent
f37586bb14
commit
221a0666db
3 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue