diff mbox

[3/9] target/xtensa: fix default sysrom/sysram addresses

Message ID 1515704703-10347-4-git-send-email-jcmvbkbc@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Max Filippov Jan. 11, 2018, 9:04 p.m. UTC
noMMU configs had wrong sysrom and sysram base addresses, fix them.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 target/xtensa/overlay_tool.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/target/xtensa/overlay_tool.h b/target/xtensa/overlay_tool.h
index 12bde447961d..589dd6285089 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