summaryrefslogtreecommitdiff
path: root/zephyr/linker/npcx-lfw.ld
blob: e69c4c2aa57c8d53bfebba9590df3e4f26c7fea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* Copyright 2021 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

. = ALIGN(4);
__lfw_text_start = .;
*(.lfw.*)
. = ALIGN(4);
__lfw_text_end = .;

#ifdef CONFIG_PLATFORM_EC_EXTERNAL_STORAGE
. = ALIGN(4);
__flash_lpfw_start = .;
/* Entering deep idle FW for better power consumption */
KEEP(*(.lowpower_ram))
. = ALIGN(4);
__flash_lpfw_end = .;
__flash_lplfw_start = .;
/* GDMA utilities for better FW download speed */
KEEP(*(.lowpower_ram2))
. = ALIGN(4);
__flash_lplfw_end = .;
#endif /* CONFIG_PLATFORM_EC_EXTERNAL_STORAGE */