From 29b39bc712b55ea535bf419821d797c5ba614146 Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Fri, 22 Dec 2017 17:55:13 -0800 Subject: target/xtensa: fix default sysrom/sysram addresses noMMU configs had wrong sysrom and sysram base addresses, fix them. Signed-off-by: Max Filippov --- target/xtensa/overlay_tool.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/xtensa/overlay_tool.h b/target/xtensa/overlay_tool.h index 12bde44..589dd62 100644 --- a/target/xtensa/overlay_tool.h +++ b/target/xtensa/overlay_tool.h @@ -342,24 +342,24 @@ .dtlb = TLB_TEMPLATE #ifndef XCHAL_SYSROM0_PADDR -#define XCHAL_SYSROM0_PADDR 0x60000000 +#define XCHAL_SYSROM0_PADDR 0x50000000 #define XCHAL_SYSROM0_SIZE 0x04000000 #endif #ifndef XCHAL_SYSRAM0_PADDR -#define XCHAL_SYSRAM0_PADDR 0x50000000 +#define XCHAL_SYSRAM0_PADDR 0x60000000 #define XCHAL_SYSRAM0_SIZE 0x04000000 #endif #else #ifndef XCHAL_SYSROM0_PADDR -#define XCHAL_SYSROM0_PADDR 0x60000000 +#define XCHAL_SYSROM0_PADDR 0x50000000 #define XCHAL_SYSROM0_SIZE 0x04000000 #endif #ifndef XCHAL_SYSRAM0_PADDR -#define XCHAL_SYSRAM0_PADDR 0x50000000 +#define XCHAL_SYSRAM0_PADDR 0x60000000 #define XCHAL_SYSRAM0_SIZE 0x04000000 #endif -- cgit v1.1