summaryrefslogtreecommitdiff
path: root/zephyr/linker/mchp-xec-lfw.ld
blob: 6774c956a56981d16152d55168b720740a68eb43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Copyright 2022 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_lplfw_start = .;
/* QSPI load and jump to EC image */
KEEP(*(.code_in_sram2))
. = ALIGN(4);
__flash_lplfw_end = .;
#endif /* CONFIG_PLATFORM_EC_EXTERNAL_STORAGE */