diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-04 18:58:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-05-04 18:59:21 +0200 |
commit | 5fa28f6a9631d6be707e99f04511dc1675eec491 (patch) | |
tree | 2120f815239d72e2bb56bed69059b29d7e0666e6 /target/linux | |
parent | 6f7be8c93a8ae1df7ff984d1025c043d31146fc6 (diff) |
xtensa: preliminary support for upcoming FDPIC support in uClibc-ng
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/config/Config.in.xtensa | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa index 7a9f12120..570900e0b 100644 --- a/target/linux/config/Config.in.xtensa +++ b/target/linux/config/Config.in.xtensa @@ -12,11 +12,34 @@ config ADK_LINUX_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX config ADK_LINUX_KERNEL_XTENSA_VARIANT_CUSTOM bool + default y if ADK_TARGET_BINFMT_FDPIC + default y if ADK_TARGET_BINFMT_FLAT config ADK_LINUX_KERNEL_XTENSA_VARIANT_CUSTOM_NAME string + default "dc233c" if ADK_TARGET_CPU_XTENSA_DC233C + default "dc232b" if ADK_TARGET_CPU_XTENSA_DC232B default "de212" if ADK_TARGET_CPU_XTENSA_DE212 config ADK_LINUX_KERNEL_BUILTIN_DTB string default "kc705_nommu" if ADK_TARGET_CPU_XTENSA_DE212 + +config ADK_LINUX_KERNEL_USER_ABI_CALL0_ONLY + bool + default y if ADK_TARGET_ABI_CALL0 + +config ADK_LINUX_KERNEL_MEMMAP_CACHEATTR + hex + default "0x2cccccc7" + depends on !ADK_TARGET_WITH_MMU + +config ADK_LINUX_KERNEL_KERNEL_LOAD_ADDRESS + hex + default "0x00003000" + depends on !ADK_TARGET_WITH_MMU + +config ADK_LINUX_KERNEL_DEFAULT_MEM_START + hex + default "0x00000000" + depends on !ADK_TARGET_WITH_MMU |