mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
arm: a320evb: define mach-type in board config file
MACH_TYPE_FARADAY was dropped from mach-types.h. Add it back to board config file. Signed-off-by: Yan-Pai Chen <ypchen@faraday-tech.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
parent
a67fe5f284
commit
641483af40
2 changed files with 6 additions and 1 deletions
|
@ -31,7 +31,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
|
|
||||||
int board_init(void)
|
int board_init(void)
|
||||||
{
|
{
|
||||||
gd->bd->bi_arch_number = MACH_TYPE_FARADAY;
|
|
||||||
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
|
||||||
|
|
||||||
ftsmc020_init(); /* initialize Flash */
|
ftsmc020_init(); /* initialize Flash */
|
||||||
|
|
|
@ -24,6 +24,12 @@
|
||||||
|
|
||||||
#include <asm/arch/a320.h>
|
#include <asm/arch/a320.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* mach-type definition
|
||||||
|
*/
|
||||||
|
#define MACH_TYPE_FARADAY 758
|
||||||
|
#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Linux kernel tagged list
|
* Linux kernel tagged list
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue