xtensa: intel_s1000: enable thread local storage
Adds the bits to enable thread local storage for intel_s1000 SoC. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
f8a909dad1
commit
c7ed7e492b
2 changed files with 2 additions and 0 deletions
|
@ -7,3 +7,4 @@ config SOC_INTEL_S1000
|
||||||
select XTENSA_HAL if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc"
|
select XTENSA_HAL if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc"
|
||||||
select HAS_I2C_DW if I2C
|
select HAS_I2C_DW if I2C
|
||||||
select HAS_SPI_DW if SPI
|
select HAS_SPI_DW if SPI
|
||||||
|
select ARCH_HAS_THREAD_LOCAL_STORAGE
|
||||||
|
|
|
@ -355,6 +355,7 @@ SECTIONS
|
||||||
_etext = .;
|
_etext = .;
|
||||||
} >ram :ram_phdr
|
} >ram :ram_phdr
|
||||||
#include <linker/common-rom.ld>
|
#include <linker/common-rom.ld>
|
||||||
|
#include <linker/thread-local-storage.ld>
|
||||||
|
|
||||||
.noinit : ALIGN(4)
|
.noinit : ALIGN(4)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue