From c201a77de667d207b4d150cbecc5a9225336de47 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 13 May 2016 08:55:59 +0200 Subject: fix building for imgtec ci20, add helper header for Darwin --- target/linux/config/Config.in.serial | 2 ++ target/mips/kernel/imgtec-ci20 | 7 +++---- target/mips/systems/imgtec-ci20 | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'target') diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial index b3144f527..7d3fb7ada 100644 --- a/target/linux/config/Config.in.serial +++ b/target/linux/config/Config.in.serial @@ -79,6 +79,7 @@ config ADK_KERNEL_SERIAL_8250 select ADK_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU select ADK_KERNEL_SERIAL_8250_CONSOLE depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \ + || ADK_TARGET_SYSTEM_IMGTEC_CI20 \ || ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \ || ADK_TARGET_SYSTEM_PCENGINES_APU \ || ADK_TARGET_SYSTEM_PCENGINES_ALIX \ @@ -96,6 +97,7 @@ config ADK_KERNEL_SERIAL_8250 || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \ || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7 + default y if ADK_TARGET_SYSTEM_IMGTEC_CI20 default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2 default y if ADK_TARGET_SYSTEM_PCENGINES_APU default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX diff --git a/target/mips/kernel/imgtec-ci20 b/target/mips/kernel/imgtec-ci20 index 3f3ae2b1d..e40370c50 100644 --- a/target/mips/kernel/imgtec-ci20 +++ b/target/mips/kernel/imgtec-ci20 @@ -1,5 +1,4 @@ CONFIG_MIPS=y -CONFIG_MACH_JZ4740=y -CONFIG_CPU_MIPS32_R1=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_MACH_INGENIC=y +CONFIG_MACH_JZ4780=y +CONFIG_JZ4780_CI20=y diff --git a/target/mips/systems/imgtec-ci20 b/target/mips/systems/imgtec-ci20 index 35ca91e3b..5b2d80653 100644 --- a/target/mips/systems/imgtec-ci20 +++ b/target/mips/systems/imgtec-ci20 @@ -2,7 +2,7 @@ config ADK_TARGET_SYSTEM_IMGTEC_CI20 bool "Imagination Creator CI20" depends on ADK_EXPERIMENTAL depends on ADK_TARGET_LITTLE_ENDIAN - select ADK_TARGET_CPU_MIPS_MIPS32 + select ADK_TARGET_CPU_MIPS_MIPS32R2 select ADK_TARGET_WITH_SERIAL select ADK_TARGET_WITH_NAND select ADK_TARGET_WITH_USB -- cgit v1.2.3