From 0ddbef1f62f2d40139132363cb7e739d1fedb628 Mon Sep 17 00:00:00 2001 From: juhosg Date: Thu, 30 Dec 2010 17:19:16 +0000 Subject: cns21xx: add initial support for the Cavium CNS21xx SoC git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24859 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/Config.in | 1 + toolchain/gcc/Config.in | 4 ++-- toolchain/gcc/Config.version | 3 ++- toolchain/uClibc/config-0.9.30.1/arm.cns21xx | 26 ++++++++++++++++++++++++++ toolchain/uClibc/config-0.9.31/arm.cns21xx | 26 ++++++++++++++++++++++++++ toolchain/uClibc/config-0.9.32/arm.cns21xx | 26 ++++++++++++++++++++++++++ 6 files changed, 83 insertions(+), 3 deletions(-) create mode 100644 toolchain/uClibc/config-0.9.30.1/arm.cns21xx create mode 100644 toolchain/uClibc/config-0.9.31/arm.cns21xx create mode 100644 toolchain/uClibc/config-0.9.32/arm.cns21xx (limited to 'toolchain') diff --git a/toolchain/Config.in b/toolchain/Config.in index a826ff531..318847f73 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -91,6 +91,7 @@ config EABI_SUPPORT depends arm||armeb prompt "Enable EABI support" if TOOLCHAINOPTS default n if TARGET_gemini + default n if TARGET_cns21xx default y help Enable ARM EABI support diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 5bd7bbfd4..cc59c92f3 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -3,8 +3,8 @@ choice prompt "GCC compiler Version" if TOOLCHAINOPTS default GCC_VERSION_4_3_5 if (avr32 || powerpc64) - default GCC_VERSION_4_3_5 if (TARGET_coldfire || TARGET_etrax || TARGET_gemini) - default GCC_VERSION_4_3_3_CS if (arm || armeb) && !(TARGET_gemini || TARGET_omap35xx) + default GCC_VERSION_4_3_5 if (TARGET_coldfire || TARGET_etrax || TARGET_gemini || TARGET_cns21xx) + default GCC_VERSION_4_3_3_CS if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx) default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte) default GCC_VERSION_4_4_5 if (powerpc || ubicom32) default GCC_VERSION_4_4_5 if (TARGET_omap35xx || TARGET_octeon || TARGET_sibyte) diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 360055a1a..2281a50d8 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -47,7 +47,7 @@ if !TOOLCHAINOPTS config GCC_VERSION_4_3_3_CS default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte) - default y if (arm || armeb) && !(TARGET_gemini || TARGET_omap35xx) + default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx) config GCC_VERSION_4_3_5 default y if avr32 @@ -55,6 +55,7 @@ if !TOOLCHAINOPTS default y if TARGET_etrax default y if TARGET_coldfire default y if TARGET_gemini + default y if TARGET_cns21xx config GCC_VERSION_4_4_5 default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx) diff --git a/toolchain/uClibc/config-0.9.30.1/arm.cns21xx b/toolchain/uClibc/config-0.9.30.1/arm.cns21xx new file mode 100644 index 000000000..8043cf61b --- /dev/null +++ b/toolchain/uClibc/config-0.9.30.1/arm.cns21xx @@ -0,0 +1,26 @@ +ARCH_ANY_ENDIAN=y +ARCH_LITTLE_ENDIAN=y +ARCH_WANTS_LITTLE_ENDIAN=y +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM7TDMI is not set +CONFIG_ARM920T=y +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_EABI is not set +# CONFIG_ARM_IWMMXT is not set +CONFIG_ARM_OABI=y +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_GENERIC_ARM is not set +TARGET_ARCH="arm" +TARGET_arm=y +# USE_BX is not set diff --git a/toolchain/uClibc/config-0.9.31/arm.cns21xx b/toolchain/uClibc/config-0.9.31/arm.cns21xx new file mode 100644 index 000000000..8043cf61b --- /dev/null +++ b/toolchain/uClibc/config-0.9.31/arm.cns21xx @@ -0,0 +1,26 @@ +ARCH_ANY_ENDIAN=y +ARCH_LITTLE_ENDIAN=y +ARCH_WANTS_LITTLE_ENDIAN=y +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM7TDMI is not set +CONFIG_ARM920T=y +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_EABI is not set +# CONFIG_ARM_IWMMXT is not set +CONFIG_ARM_OABI=y +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_GENERIC_ARM is not set +TARGET_ARCH="arm" +TARGET_arm=y +# USE_BX is not set diff --git a/toolchain/uClibc/config-0.9.32/arm.cns21xx b/toolchain/uClibc/config-0.9.32/arm.cns21xx new file mode 100644 index 000000000..8043cf61b --- /dev/null +++ b/toolchain/uClibc/config-0.9.32/arm.cns21xx @@ -0,0 +1,26 @@ +ARCH_ANY_ENDIAN=y +ARCH_LITTLE_ENDIAN=y +ARCH_WANTS_LITTLE_ENDIAN=y +# CONFIG_ARM10T is not set +# CONFIG_ARM1136JF_S is not set +# CONFIG_ARM1176JZF_S is not set +# CONFIG_ARM1176JZ_S is not set +# CONFIG_ARM610 is not set +# CONFIG_ARM710 is not set +# CONFIG_ARM720T is not set +# CONFIG_ARM7TDMI is not set +CONFIG_ARM920T=y +# CONFIG_ARM922T is not set +# CONFIG_ARM926T is not set +# CONFIG_ARM_CORTEX_M1 is not set +# CONFIG_ARM_CORTEX_M3 is not set +# CONFIG_ARM_EABI is not set +# CONFIG_ARM_IWMMXT is not set +CONFIG_ARM_OABI=y +# CONFIG_ARM_SA110 is not set +# CONFIG_ARM_SA1100 is not set +# CONFIG_ARM_XSCALE is not set +# CONFIG_GENERIC_ARM is not set +TARGET_ARCH="arm" +TARGET_arm=y +# USE_BX is not set -- cgit v1.2.3