mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-30 07:39:24 +00:00
Merge "fix(tc): change the FIP offset to 8 KiB boundary" into integration
This commit is contained in:
commit
1035e3a87a
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2022, Arm Limited. All rights reserved.
|
* Copyright (c) 2020-2023, Arm Limited. All rights reserved.
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
|
@ -308,4 +308,17 @@
|
||||||
/* virtual address used by dynamic mem_protect for chunk_base */
|
/* virtual address used by dynamic mem_protect for chunk_base */
|
||||||
#define PLAT_ARM_MEM_PROTEC_VA_FRAME UL(0xc0000000)
|
#define PLAT_ARM_MEM_PROTEC_VA_FRAME UL(0xc0000000)
|
||||||
|
|
||||||
|
#if ARM_GPT_SUPPORT
|
||||||
|
/*
|
||||||
|
* This overrides the default PLAT_ARM_FIP_OFFSET_IN_GPT in board_css_def.h.
|
||||||
|
* Offset of the FIP in the GPT image. BL1 component uses this option
|
||||||
|
* as it does not load the partition table to get the FIP base
|
||||||
|
* address. At sector 48 for TC to align with ATU page size boundaries (8KiB)
|
||||||
|
* (i.e. after reserved sectors 0-47).
|
||||||
|
* Offset = 48 * 512 = 0x6000
|
||||||
|
*/
|
||||||
|
#undef PLAT_ARM_FIP_OFFSET_IN_GPT
|
||||||
|
#define PLAT_ARM_FIP_OFFSET_IN_GPT 0x6000
|
||||||
|
#endif /* ARM_GPT_SUPPORT */
|
||||||
|
|
||||||
#endif /* PLATFORM_DEF_H */
|
#endif /* PLATFORM_DEF_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue