Angel Pons | 7c1d70e | 2020-04-04 18:51:19 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 2 | |
| 3 | #include <memlayout.h> |
| 4 | |
| 5 | #include <arch/header.ld> |
| 6 | |
| 7 | SECTIONS |
| 8 | { |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 9 | REGION(oc_imem, 0x08600000, 32K, 0) |
| 10 | |
| 11 | /* ==vvv== OC_IMEM_1_START 0x08600000 ==vvv== */ |
| 12 | /* DDR(0x08600000, 32K) */ |
| 13 | /* ==^^^== OC_IMEM_1_END 0x08608000 ==^^^== */ |
| 14 | |
| 15 | /* ==vvv== WIFI_IMEM_0_START 0x0A0C0000 ==vvv== */ |
| 16 | REGION_START(wifi_imem_0, 0x0A0C0000) |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 17 | /* This includes bootblock image, can be reused after bootblock starts */ |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 18 | /* UBER_SBL(0x0A0C0000, 48K) */ |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 19 | |
Julius Werner | baf27db | 2019-10-02 17:28:56 -0700 | [diff] [blame] | 20 | PRERAM_CBFS_CACHE(0x0A0C0000, 84K) |
| 21 | CBFS_MCACHE(0x0A0ED800, 8K) |
Julius Werner | cefe89e | 2019-11-06 19:29:44 -0800 | [diff] [blame] | 22 | FMAP_CACHE(0x0A0EF800, 2K) |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 23 | |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 24 | TTB(0x0A0F0000, 16K) |
Varadarajan Narayanan | 35d4a35 | 2016-01-06 14:14:59 +0530 | [diff] [blame] | 25 | TTB_SUBTABLES(0x0A0F4000, 4K) |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 26 | REGION_END(wifi_imem_0, 0x0A100000) |
| 27 | /* ==^^^== WIFI_IMEM_0_END 0x0A100000 ==^^^== */ |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 28 | |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 29 | |
| 30 | /* ==vvv== WIFI_IMEM_1_START 0x0A8C0000 ==vvv== */ |
| 31 | REGION_START(wifi_imem_1, 0x0A8C0000) |
| 32 | BOOTBLOCK(0x0A8C0000, 24K) |
| 33 | OVERLAP_VERSTAGE_ROMSTAGE(0x0A8C6000, 64K) |
Joel Kitching | 0097f55 | 2019-02-21 12:36:55 +0800 | [diff] [blame] | 34 | VBOOT2_WORK(0x0A8D6000, 12K) |
Varadarajan Narayanan | 10c3749 | 2016-03-17 14:37:56 +0530 | [diff] [blame] | 35 | PRERAM_CBMEM_CONSOLE(0x0A8DA000, 32K) |
| 36 | TIMESTAMP(0x0A8E2000, 1K) |
| 37 | |
| 38 | /* 0x0A8E2400..0x0A8FC000 103 KB free */ |
| 39 | |
| 40 | STACK(0x0A8FC000, 16K) |
| 41 | REGION_END(wifi_imem_1, 0x0A900000) |
| 42 | /* ==^^^== WIFI_IMEM_1_END 0x0A900000 ==^^^== */ |
| 43 | |
| 44 | DRAM_START(0x80000000) |
Varadarajan Narayanan | 35d4a35 | 2016-01-06 14:14:59 +0530 | [diff] [blame] | 45 | SYMBOL(memlayout_cbmem_top, 0x87280000) |
Kan Yan | eefb590 | 2018-10-22 14:10:43 -0700 | [diff] [blame] | 46 | POSTRAM_CBFS_CACHE(0x87280000, 512K) |
| 47 | RAMSTAGE(0x87300000, 512K) |
| 48 | DMA_COHERENT(0x87400000, 2M) |
Varadarajan Narayanan | a6935c2 | 2016-03-02 16:57:10 +0530 | [diff] [blame] | 49 | } |