From 46d6a24872b7fa2717f8f71b5e0598a14d38e1f6 Mon Sep 17 00:00:00 2001 From: Aurelien Jacquiot Date: Wed, 23 Feb 2011 13:04:59 +0100 Subject: The C6X port This adds support for the TI C6X family of processors. Signed-off-by: Mark Salter Signed-off-by: Aurelien Jacquiot Signed-off-by: Bernd Schmidt --- extra/Configs/Config.c6x | 34 ++++++++++++++++++++++++++++++++++ extra/Configs/Config.in | 7 +++++++ extra/Configs/Config.in.arch | 4 ++++ 3 files changed, 45 insertions(+) create mode 100644 extra/Configs/Config.c6x (limited to 'extra/Configs') diff --git a/extra/Configs/Config.c6x b/extra/Configs/Config.c6x new file mode 100644 index 000000000..d71df3f14 --- /dev/null +++ b/extra/Configs/Config.c6x @@ -0,0 +1,34 @@ +# +# For a description of the syntax of this configuration file, +# see extra/config/Kconfig-language.txt +# + +config TARGET_ARCH + default "c6x" + +config FORCE_OPTIONS_FOR_ARCH + bool + default y + select ARCH_ANY_ENDIAN + +config ARCH_CFLAGS + string + +config ARCH_LDFLAGS + string + +choice + prompt "Target Processor Type" + default CONFIG_GENERIC_C6X + +config CONFIG_GENERIC_C6X + bool "Generic C6X DSP" + +config CONFIG_TMS320C64X + bool "TMS320C64X" + +config CONFIG_TMS320C64XPLUS + bool "TMS320C64X+" + +endchoice + diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 4d2c870bd..8628f28f6 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -114,6 +114,9 @@ config TARGET_x86_64 config TARGET_xtensa bool "xtensa" +config TARGET_c6x + bool "c6x" + endchoice @@ -219,6 +222,10 @@ if TARGET_xtensa source "extra/Configs/Config.xtensa" endif +if TARGET_c6x +source "extra/Configs/Config.c6x" +endif + config TARGET_SUBARCH string default "e500" if CONFIG_E500 diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch index 068bccc69..5f7a2b0c6 100644 --- a/extra/Configs/Config.in.arch +++ b/extra/Configs/Config.in.arch @@ -17,6 +17,10 @@ config UCLIBC_FORMAT_FDPIC_ELF bool "FDPIC ELF" depends on !ARCH_USE_MMU && (TARGET_bfin || TARGET_frv) select DOPIC +config UCLIBC_FORMAT_DSBT_ELF + bool "DBST ELF" + depends on !ARCH_USE_MMU && TARGET_c6x + select DOPIC config UCLIBC_FORMAT_FLAT bool "STATIC FLAT" depends on !ARCH_USE_MMU -- cgit v1.2.3