mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
arm: jadecpu: Readd MACH_TYPE_JADECPU
MACH_TYPE_JADECPU was removed from mach-types.h. Add it to board config file. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
This commit is contained in:
parent
b2f2648d89
commit
b2a7badb5a
2 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,6 @@ int board_init(void)
|
||||||
writel(0x00000010, &ccnt->cmux_md);
|
writel(0x00000010, &ccnt->cmux_md);
|
||||||
|
|
||||||
gd->flags = 0;
|
gd->flags = 0;
|
||||||
gd->bd->bi_arch_number = MACH_TYPE_JADECPU;
|
|
||||||
gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000;
|
gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000;
|
||||||
|
|
||||||
icache_enable();
|
icache_enable();
|
||||||
|
|
|
@ -37,6 +37,10 @@
|
||||||
#define CONFIG_USE_ARCH_MEMCPY
|
#define CONFIG_USE_ARCH_MEMCPY
|
||||||
#define CONFIG_USE_ARCH_MEMSET
|
#define CONFIG_USE_ARCH_MEMSET
|
||||||
|
|
||||||
|
#define MACH_TYPE_JADECPU 2636
|
||||||
|
|
||||||
|
#define CONFIG_MACH_TYPE MACH_TYPE_JADECPU
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Environment settings
|
* Environment settings
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue