xtensa: optionally build reset vector code

In real-world use-cases this isn't always needed.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-05-11 09:46:08 -07:00 committed by Anas Nashif
commit b7aa6b7bd0
2 changed files with 10 additions and 1 deletions

View file

@ -68,6 +68,15 @@ config SW_ISR_TABLE_DYNAMIC
SRAM so that it is writable. This has the side-effect of removing
write-protection on the ISR table.
config XTENSA_RESET_VECTOR
bool
prompt "Build reset vector code"
default y
help
This option controls whether the initial reset vector code is built.
This is always needed for the simulator. Real boards may already
implement this in boot ROM.
menu "Specific core configuration"
config IRQ_OFFLOAD_INTNUM

View file

@ -1,2 +1,2 @@
asflags-y := -c -xassembler-with-cpp $(XTENSA_INCLUDE) $(flagBoardType) -mtext-section-literals -mlongcalls
obj-y = reset-vector.o
obj-$(CONFIG_XTENSA_RESET_VECTOR) = reset-vector.o