From 5fa28f6a9631d6be707e99f04511dc1675eec491 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 4 May 2024 18:58:42 +0200 Subject: xtensa: preliminary support for upcoming FDPIC support in uClibc-ng --- target/linux/config/Config.in.xtensa | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'target/linux/config/Config.in.xtensa') 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 -- cgit v1.2.3