qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Filippov <jcmvbkbc@gmail.com>
To: qemu-devel@nongnu.org
Cc: Max Filippov <jcmvbkbc@gmail.com>
Subject: [Qemu-devel] [PATCH 3/9] target/xtensa: fix default sysrom/sysram addresses
Date: Thu, 11 Jan 2018 13:04:57 -0800	[thread overview]
Message-ID: <1515704703-10347-4-git-send-email-jcmvbkbc@gmail.com> (raw)
In-Reply-To: <1515704703-10347-1-git-send-email-jcmvbkbc@gmail.com>

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 --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
 
-- 
2.1.4

  parent reply	other threads:[~2018-01-11 21:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 21:04 [Qemu-devel] [PATCH 0/9] target/xtensa: add noMMU support to XTFPGA Max Filippov
2018-01-11 21:04 ` [Qemu-devel] [PATCH 1/9] hw/xtensa/xtfpga: rewrite mini bootloader Max Filippov
2018-01-11 21:04 ` [Qemu-devel] [PATCH 2/9] hw/xtensa/xtfpga: clean up function/structure names Max Filippov
2018-01-11 21:04 ` Max Filippov [this message]
2018-01-11 21:04 ` [Qemu-devel] [PATCH 4/9] hw/xtensa: extract xtensa_create_memory_regions Max Filippov
2018-01-11 21:04 ` [Qemu-devel] [PATCH 5/9] hw/xtensa/xtfpga: extract flash configuration Max Filippov
2018-01-11 21:05 ` [Qemu-devel] [PATCH 7/9] target/xtensa: add de212 core Max Filippov
2018-01-11 21:05 ` [Qemu-devel] [PATCH 9/9] target/xtensa: add sample_controller core Max Filippov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1515704703-10347-4-git-send-email-jcmvbkbc@gmail.com \
    --to=jcmvbkbc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).