提交 67a433ce 编写于 作者: P Paulius Zaleckas

Gemini: Fix SRAM/ROM location after memory swap

Signed-off-by: NPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
上级 f49afbb5
...@@ -15,10 +15,9 @@ ...@@ -15,10 +15,9 @@
/* /*
* Memory Map definitions * Memory Map definitions
*/ */
/* FIXME: Does it really swap SRAM like this? */
#ifdef CONFIG_GEMINI_MEM_SWAP #ifdef CONFIG_GEMINI_MEM_SWAP
# define GEMINI_DRAM_BASE 0x00000000 # define GEMINI_DRAM_BASE 0x00000000
# define GEMINI_SRAM_BASE 0x20000000 # define GEMINI_SRAM_BASE 0x70000000
#else #else
# define GEMINI_SRAM_BASE 0x00000000 # define GEMINI_SRAM_BASE 0x00000000
# define GEMINI_DRAM_BASE 0x10000000 # define GEMINI_DRAM_BASE 0x10000000
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册