summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-05-30 10:08:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-05-30 10:08:16 +0200
commit298011bfb978a087d9c32c1eccea01239d1e0e14 (patch)
tree7bcba9412a5ccb503677a958d9e9a41dd10f7a98 /target
parentea7c8c2c7c5183ec7db1d6070d0c5d37e6ba3d79 (diff)
xtensa: fix de212 kernel configuration
Diffstat (limited to 'target')
-rw-r--r--target/linux/config/Config.in.xtensa9
-rw-r--r--target/xtensa/kernel/qemu-xtensa1
2 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa
index 570900e0b..5fc9847c6 100644
--- a/target/linux/config/Config.in.xtensa
+++ b/target/linux/config/Config.in.xtensa
@@ -31,15 +31,18 @@ config ADK_LINUX_KERNEL_USER_ABI_CALL0_ONLY
config ADK_LINUX_KERNEL_MEMMAP_CACHEATTR
hex
- default "0x2cccccc7"
+ default "0x2cccccc7" if ADK_TARGET_CPU_XTENSA_DC233C
+ default "0x22222222" if ADK_TARGET_CPU_XTENSA_DE212
depends on !ADK_TARGET_WITH_MMU
config ADK_LINUX_KERNEL_KERNEL_LOAD_ADDRESS
hex
- default "0x00003000"
+ default "0x00003000" if ADK_TARGET_CPU_XTENSA_DC233C
+ default "0x60003000" if ADK_TARGET_CPU_XTENSA_DE212
depends on !ADK_TARGET_WITH_MMU
config ADK_LINUX_KERNEL_DEFAULT_MEM_START
hex
- default "0x00000000"
+ default "0x00000000" if ADK_TARGET_CPU_XTENSA_DC233C
+ default "0x60000000" if ADK_TARGET_CPU_XTENSA_DE212
depends on !ADK_TARGET_WITH_MMU
diff --git a/target/xtensa/kernel/qemu-xtensa b/target/xtensa/kernel/qemu-xtensa
index 9f4c49f45..16ab302b4 100644
--- a/target/xtensa/kernel/qemu-xtensa
+++ b/target/xtensa/kernel/qemu-xtensa
@@ -2,5 +2,4 @@ CONFIG_XTENSA=y
CONFIG_XTENSA_UNALIGNED_USER=y
CONFIG_XTENSA_PLATFORM_XTFPGA=y
CONFIG_CMDLINE_BOOL=y
-CONFIG_CMDLINE="earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 memmap=0x08000000@0"
CONFIG_SECTION_MISMATCH_WARN_ONLY=y