MX25: tx25: Fix building due to missing MACH_TYPE
Added MACH_TYPE for the tx25 to the configuration file. The MACH_TYPE is dropped from mach-types.h after last sync with kernel. Signed-off-by: Stefano Babic <sbabic@denx.de>
This commit is contained in:
parent
4d86dd022e
commit
0e0a5366f1
|
@ -140,7 +140,6 @@ int board_init()
|
||||||
mx25_uart1_init_pins();
|
mx25_uart1_init_pins();
|
||||||
#endif
|
#endif
|
||||||
/* board id for linux */
|
/* board id for linux */
|
||||||
gd->bd->bi_arch_number = MACH_TYPE_TX25;
|
|
||||||
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,12 @@
|
||||||
/* NAND BOOT is the only boot method */
|
/* NAND BOOT is the only boot method */
|
||||||
#define CONFIG_NAND_U_BOOT
|
#define CONFIG_NAND_U_BOOT
|
||||||
|
|
||||||
|
#ifndef MACH_TYPE_TX25
|
||||||
|
#define MACH_TYPE_TX25 2177
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define CONFIG_MACH_TYPE MACH_TYPE_TX25
|
||||||
|
|
||||||
#ifdef CONFIG_NAND_SPL
|
#ifdef CONFIG_NAND_SPL
|
||||||
/* Start copying real U-boot from the second page */
|
/* Start copying real U-boot from the second page */
|
||||||
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x800
|
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x800
|
||||||
|
|
Loading…
Reference in New Issue