mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
pistachio: change memory layout as to allow bigger CBFS cache
As the payload increases in size, a bigger CBFS cache is required.
Therfore, bootblock, romstage and the cbfs cache were placed in
GRAM (128 K) and the stack and cbmem console were moved to
SRAM (64 K). With the exception of CBFS cache, the sizes of all
the other regions remains the same.
BUG=chrome-os-partner:31438
TEST=tested on Pistachio FPGA and bring up board;
behavior was as expected.
BRANCH=none
Change-Id: I19857f785ca1514f7483d582c7ad6ee470a8fefc
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Original-Commit-Id: c895660dbdcd113bdc9d832beab30886313c28d6
Original-Change-Id: I004f8f081d04f83e3f5cee969e50803685cfdf67
Original-Signed-off-by: Ionela Voinescu <ionela.voinescu@imgtec.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/236551
Original-Reviewed-by: David Hendricks <dhendrix@chromium.org>
Original-Commit-Queue: David Hendricks <dhendrix@chromium.org>
Original-Tested-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/9664
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
1c0d0c0159
commit
55b8dc02e0
@@ -30,12 +30,13 @@ SECTIONS
|
||||
SRAM_START(0x9a000000)
|
||||
BOOTBLOCK(0x9a000000, 16K)
|
||||
ROMSTAGE(0x9a004000, 36K)
|
||||
STACK(0x9a01c000, 8K)
|
||||
PRERAM_CBMEM_CONSOLE(0x9a01e000, 8K)
|
||||
CBFS_CACHE(0x9a00d000, 76K)
|
||||
SRAM_END(0x9a020000)
|
||||
|
||||
/* Let's use SRAM for CBFS cache. */
|
||||
CBFS_CACHE(0x9b000000, 64K)
|
||||
/* Let's use SRAM for stack and CBMEM console. */
|
||||
STACK(0x9b000000, 8K)
|
||||
PRERAM_CBMEM_CONSOLE(0x9b002000, 8K)
|
||||
|
||||
/* DMA coherent area: end of available DRAM, uncached */
|
||||
DMA_COHERENT(0xAFF00000, 1M)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user