blob: 793e74e3b22fb89af06548a99f7138cf7e3709e4 [file] [log] [blame]
Angel Pons7c1d70e2020-04-04 18:51:19 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Julius Wernerec5e5e02014-08-20 15:29:56 -07002
3#include <memlayout.h>
4
5#include <arch/header.ld>
6
Julius Wernerec5e5e02014-08-20 15:29:56 -07007SECTIONS
8{
Deepa Dinamani1c2748d2015-01-12 11:57:09 -08009 REGION(rpm, 0x00020000, 160K, 8K)
Deepa Dinamani36417aa2014-10-27 15:40:05 -070010 SRAM_START(0x2A000000)
11 /* This includes bootblock image, can be reused after bootblock starts */
12/* UBER_SBL(0x2A000000, 48K) */
13/* DDR(0x2A000000, 48K) */
14 BOOTBLOCK(0x2A00C000, 24K)
15 OVERLAP_VERSTAGE_ROMSTAGE(0x2A012000, 64K)
Joel Kitching0097f552019-02-21 12:36:55 +080016 VBOOT2_WORK(0x2A022000, 12K)
Deepa Dinamani36417aa2014-10-27 15:40:05 -070017 PRERAM_CBMEM_CONSOLE(0x2A026000, 32K)
Vadim Bendebury62b4de12014-12-12 17:54:27 -080018 TIMESTAMP(0x2A02E000, 1K)
Vadim Bendebury16d01882014-12-25 15:16:25 -080019
Vadim Bendebury62b4de12014-12-12 17:54:27 -080020/* 0x2e400..0x3F000 67 KB free */
Deepa Dinamani36417aa2014-10-27 15:40:05 -070021
22/* Keep the below area reserved at all times, it is used by various QCA
23 components as shared data
24 QCA_SHARED_RAM(2A03F000, 4K)
25*/
26 STACK(0x2A040000, 16K)
Julius Wernerbaf27db2019-10-02 17:28:56 -070027 PRERAM_CBFS_CACHE(0x2A044000, 83K)
28 CBFS_MCACHE(0x2A059000, 8K)
Julius Wernercefe89e2019-11-06 19:29:44 -080029 FMAP_CACHE(0x2A05B000, 2K)
Deepa Dinamani1c2748d2015-01-12 11:57:09 -080030 TTB_SUBTABLES(0x2A05B800, 2K)
Deepa Dinamani36417aa2014-10-27 15:40:05 -070031 TTB(0x2A05C000, 16K)
32 SRAM_END(0x2A060000)
Julius Wernerec5e5e02014-08-20 15:29:56 -070033
34 DRAM_START(0x40000000)
Julius Wernerec5e5e02014-08-20 15:29:56 -070035 RAMSTAGE(0x40640000, 128K)
Vikas Das08f249e2014-09-22 17:49:56 -070036 SYMBOL(memlayout_cbmem_top, 0x59F80000)
Mary Ruthvenf82e8ab2015-11-13 14:05:27 -080037 POSTRAM_CBFS_CACHE(0x59F80000, 384K)
Julius Wernerec5e5e02014-08-20 15:29:56 -070038 DMA_COHERENT(0x5A000000, 2M)
39}