mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-08 03:23:32 -04:00
SMDKV310: Initialize board id using CONFIG_MACH_TYPE
Use CONFIG_MACH_TYPE generic macro to initialize board id. Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
parent
a2ee7f07fa
commit
b3c5a49b0e
@ -57,7 +57,6 @@ int board_init(void)
|
|||||||
|
|
||||||
smc9115_pre_init();
|
smc9115_pre_init();
|
||||||
|
|
||||||
gd->bd->bi_arch_number = MACH_TYPE_SMDKV310;
|
|
||||||
gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
|
gd->bd->bi_boot_params = (PHYS_SDRAM_1 + 0x100UL);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,9 @@
|
|||||||
#define CONFIG_DISPLAY_CPUINFO
|
#define CONFIG_DISPLAY_CPUINFO
|
||||||
#define CONFIG_DISPLAY_BOARDINFO
|
#define CONFIG_DISPLAY_BOARDINFO
|
||||||
|
|
||||||
|
/* Mach Type */
|
||||||
|
#define CONFIG_MACH_TYPE MACH_TYPE_SMDKV310
|
||||||
|
|
||||||
/* Keep L2 Cache Disabled */
|
/* Keep L2 Cache Disabled */
|
||||||
#define CONFIG_L2_OFF 1
|
#define CONFIG_L2_OFF 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user