summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-05-13 08:55:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2016-05-13 08:56:08 +0200
commitc201a77de667d207b4d150cbecc5a9225336de47 (patch)
tree0a0c75dd4591e3601e2dddc3d06d69740bf65df2 /target
parent84bce194674cc57e556ec52826a6014518eb4dd1 (diff)
fix building for imgtec ci20, add helper header for Darwin
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.serial2
-rw-r--r--target/mips/kernel/imgtec-ci207
-rw-r--r--target/mips/systems/imgtec-ci202
3 files changed, 6 insertions, 5 deletions
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