mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-11 04:22:14 +08:00
vision2: Place machine ID into board config
Let common code set the machine ID. Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
committed by
Albert ARIBAUD
parent
e6ec1761cd
commit
db545e49b7
@@ -653,7 +653,6 @@ void lcd_enable(void)
|
||||
|
||||
int board_init(void)
|
||||
{
|
||||
gd->bd->bi_arch_number = MACH_TYPE_TTC_VISION2; /* board id for linux */
|
||||
/* address of boot parameters */
|
||||
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
||||
|
||||
|
||||
@@ -41,6 +41,8 @@
|
||||
#define CONFIG_INITRD_TAG
|
||||
#define BOARD_LATE_INIT
|
||||
|
||||
#define CONFIG_MACH_TYPE MACH_TYPE_TTC_VISION2
|
||||
|
||||
/*
|
||||
* Size of malloc() pool
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user