Skip to content

Commit

Permalink
Remove the Xtensa architecture
Browse files Browse the repository at this point in the history
As stated in commit 555c258, the
Xtensa architecture has been introduced in 2009 and never changed
since its initial introduction. It requires some special handling that
is a bit annoying, and despite our call to the initial developers, and
the announcement of the deprecation of the architecture during the
2012.05, nothing has happened. Therefore, drop support for this
architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: me
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  • Loading branch information
tpetazzoni authored and jacmet committed Sep 20, 2012
1 parent b189c51 commit 669d07b
Show file tree
Hide file tree
Showing 17 changed files with 5 additions and 1,392 deletions.
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,6 @@ QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)

# Strip off the annoying quoting
ARCH:=$(call qstrip,$(BR2_ARCH))
ifeq ($(ARCH),xtensa)
ARCH:=$(ARCH)_$(call qstrip,$(BR2_xtensa_core_name))
endif

KERNEL_ARCH:=$(shell echo "$(ARCH)" | sed -e "s/-.*//" \
-e s/i.86/i386/ -e s/sun4u/sparc64/ \
Expand Down
2 changes: 1 addition & 1 deletion linux/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ config BR2_LINUX_KERNEL_BZIMAGE

config BR2_LINUX_KERNEL_ZIMAGE
bool "zImage"
depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_sparc || BR2_sh || BR2_sh64 || BR2_xtensa
depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_sparc || BR2_sh || BR2_sh64

config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
bool "zImage with appended DT"
Expand Down
2 changes: 1 addition & 1 deletion package/ltrace/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config BR2_PACKAGE_LTRACE
bool "ltrace"
depends on !(BR2_avr32 || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64 || BR2_xtensa)
depends on !(BR2_avr32 || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64)
select BR2_PACKAGE_LIBELF
help
Debugging program which runs a specified command until it exits.
Expand Down
40 changes: 0 additions & 40 deletions target/Config.in.arch
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,6 @@ config BR2_x86_64
architecture compatible microprocessor).
http://en.wikipedia.org/wiki/X86_64

config BR2_xtensa
bool "Xtensa"
depends on BR2_DEPRECATED
help
Xtensa is a Tensilica processor IP architecture.
http://en.wikipedia.org/wiki/Xtensa
http://www.tensilica.com/
endchoice

config BR2_microblaze
Expand Down Expand Up @@ -499,38 +492,6 @@ config BR2_sparc_tsc701
bool "tsc701"
endchoice

choice
prompt "Target Architecture Variant"
depends on BR2_xtensa
default BR2_xtensa_dc232b
help
Specific CPU variant to use

config BR2_xtensa_custom
bool "Custom Xtensa processor configuration"
config BR2_xtensa_dc232a
bool "dc232a - Diamond 232L Standard Core Rev.A (LE)"
config BR2_xtensa_dc232b
bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
#config BR2_xtensa_s5000
# bool "s5000 - Stretch S5000"
endchoice

config BR2_xtensa_custom_name
string "Custom Xtensa processor configuration name"
depends on BR2_xtensa_custom
default ""
help
Name given to a custom Xtensa processor configuration.
This is used to select the correct overlay.

config BR2_xtensa_core_name
string
default BR2_xtensa_custom_name if BR2_xtensa_custom
default "dc232a" if BR2_xtensa_dc232a
default "dc232b" if BR2_xtensa_dc232b
# default "s5000" if BR2_xtensa_s5000

choice
prompt "Target Architecture Variant"
depends on BR2_powerpc
Expand Down Expand Up @@ -665,7 +626,6 @@ config BR2_ARCH
default "sh4aeb" if BR2_sh4aeb
default "sh64" if BR2_sh64
default "sparc" if BR2_sparc
default "xtensa" if BR2_xtensa


config BR2_ENDIAN
Expand Down
189 changes: 0 additions & 189 deletions target/device/xtensa/device_table.txt

This file was deleted.

1 change: 0 additions & 1 deletion target/xtensa/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion target/xtensa/Makefile.in

This file was deleted.

Loading

0 comments on commit 669d07b

Please sign in to comment.