1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/*
* This file is part of the coreboot project.
*
* Copyright (c) 2015, The Linux Foundation. All rights reserved.
* Copyright 2014 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include <memlayout.h>
#include <arch/header.ld>
#define REGION_START(name, addr) SYMBOL(name, addr)
#define REGION_END(name, addr) SYMBOL(e##name, addr)
SECTIONS
{
REGION(oc_imem, 0x08600000, 32K, 0)
/* ==vvv== OC_IMEM_1_START 0x08600000 ==vvv== */
/* DDR(0x08600000, 32K) */
/* ==^^^== OC_IMEM_1_END 0x08608000 ==^^^== */
/* ==vvv== WIFI_IMEM_0_START 0x0A0C0000 ==vvv== */
REGION_START(wifi_imem_0, 0x0A0C0000)
/* This includes bootblock image, can be reused after bootblock starts */
/* UBER_SBL(0x0A0C0000, 48K) */
PRERAM_CBFS_CACHE(0x0A0C0000, 93K)
TTB_SUBTABLES(0x0A0E0000, 4K)
TTB(0x0A0F0000, 16K)
REGION_END(wifi_imem_0, 0x0A100000)
/* ==^^^== WIFI_IMEM_0_END 0x0A100000 ==^^^== */
/* ==vvv== WIFI_IMEM_1_START 0x0A8C0000 ==vvv== */
REGION_START(wifi_imem_1, 0x0A8C0000)
BOOTBLOCK(0x0A8C0000, 24K)
OVERLAP_VERSTAGE_ROMSTAGE(0x0A8C6000, 64K)
VBOOT2_WORK(0x0A8D6000, 16K)
PRERAM_CBMEM_CONSOLE(0x0A8DA000, 32K)
TIMESTAMP(0x0A8E2000, 1K)
/* 0x0A8E2400..0x0A8FC000 103 KB free */
STACK(0x0A8FC000, 16K)
REGION_END(wifi_imem_1, 0x0A900000)
/* ==^^^== WIFI_IMEM_1_END 0x0A900000 ==^^^== */
DRAM_START(0x80000000)
RAMSTAGE(0x80640000, 128K)
SYMBOL(memlayout_cbmem_top, 0x89F80000)
POSTRAM_CBFS_CACHE(0x89F80000, 384K)
DMA_COHERENT(0x8A000000, 2M)
}
|