mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
Merge "arm: dts: Add MI01.2-C2 dts support"
This commit is contained in:
commit
d76daa7b87
2 changed files with 9 additions and 0 deletions
|
|
@ -1175,6 +1175,8 @@ extern unsigned int __machine_arch_type;
|
|||
#define MACH_TYPE_IPQ9574_AP_AL03_C1 0x8050002
|
||||
#define MACH_TYPE_IPQ9574_AP_AL03_C2 0x8050102
|
||||
#define MACH_TYPE_IPQ5332_EMULATION 0xF060000
|
||||
#define MACH_TYPE_IPQ5332_AP_MI01_2 0x8060001
|
||||
#define MACH_TYPE_IPQ5332_AP_MI01_2_C2 0x8060201
|
||||
#define MACH_TYPE_IPQ5332_AP_MI01_3 0x8060002
|
||||
#define MACH_TYPE_IPQ5332_AP_MI01_3_C2 0x8060102
|
||||
#define MACH_TYPE_IPQ5332_AP_MI04_1 0x8060004
|
||||
|
|
|
|||
|
|
@ -838,6 +838,8 @@ unsigned int get_dts_machid(unsigned int machid)
|
|||
{
|
||||
switch (machid)
|
||||
{
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_2_C2:
|
||||
return MACH_TYPE_IPQ5332_AP_MI01_2;
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_3_C2:
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_12:
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_14:
|
||||
|
|
@ -857,6 +859,11 @@ void ipq_uboot_fdt_fixup(void)
|
|||
|
||||
switch (gd->bd->bi_arch_number)
|
||||
{
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_2_C2:
|
||||
config_list[config_nos++] = "config@mi01.2-c2";
|
||||
config_list[config_nos++] = "config@rdp484";
|
||||
config_list[config_nos++] = "config-rdp484";
|
||||
break;
|
||||
case MACH_TYPE_IPQ5332_AP_MI01_3_C2:
|
||||
config_list[config_nos++] = "config@mi01.3-c2";
|
||||
config_list[config_nos++] = "config@rdp477";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue