summaryrefslogtreecommitdiff
path: root/HisiPkg/D01BoardPkg/Bds/BdsInternal.h
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2014-12-12 02:17:10 +0100
committerWei Xu <xuwei5@huawei.com>2014-12-17 16:58:20 +0800
commitf9bbfcb9ee24e9d3540b03a3b10352c05d7b36ac (patch)
tree7353c724bd62e2bbd09d1139406077510b64518a /HisiPkg/D01BoardPkg/Bds/BdsInternal.h
parentccdc4cc7e4e884a5a1eb25451363e38a3091c775 (diff)
HisiPkg: D01: Move bootwrapper to SRAM
Reserving DDR memory is a very tricky thing to do. We always need to make sure we don't overlap with memory regions the guest uncondionally uses. However, we need to keep the bootwrapper code resident in memory for CPU hotplug. So let's just move it into SRAM. There it can stay happily ever after. Unfortunately we need to make sure we only copy the bootwrapper to SRAM, not a full NAND block. So this patch also introduces a bounce buffer for NAND access. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Wei Xu <xuwei5@huawei.com>
Diffstat (limited to 'HisiPkg/D01BoardPkg/Bds/BdsInternal.h')
-rw-r--r--HisiPkg/D01BoardPkg/Bds/BdsInternal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/HisiPkg/D01BoardPkg/Bds/BdsInternal.h b/HisiPkg/D01BoardPkg/Bds/BdsInternal.h
index 7481a8eaa..0b0d11ef4 100644
--- a/HisiPkg/D01BoardPkg/Bds/BdsInternal.h
+++ b/HisiPkg/D01BoardPkg/Bds/BdsInternal.h
@@ -38,8 +38,8 @@
#define BOOT_DEVICE_ADDRESS_MAX (sizeof(L"0x0000000000000000"))
//address of Linux in DDR
-#define TEXT_DDR_BASE 0x10c00000
-#define MONITOR_DDR_BASE 0x10c08000
+#define TEXT_SRAM_BASE 0xe00f0000
+#define MONITOR_SRAM_BASE 0xe00f8000
#define KERNEL_DDR_BASE 0x10008000
#define FILESYSTEM_DDR_BASE 0x10d00000