xref: /rk3399_ARM-atf/include/common/bl_common.ld.h (revision 665e71b8ea28162ec7737c1411bca3ea89e5957e)
1*665e71b8SMasahiro Yamada /*
2*665e71b8SMasahiro Yamada  * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3*665e71b8SMasahiro Yamada  *
4*665e71b8SMasahiro Yamada  * SPDX-License-Identifier: BSD-3-Clause
5*665e71b8SMasahiro Yamada  */
6*665e71b8SMasahiro Yamada 
7*665e71b8SMasahiro Yamada #ifndef BL_COMMON_LD_H
8*665e71b8SMasahiro Yamada #define BL_COMMON_LD_H
9*665e71b8SMasahiro Yamada 
10*665e71b8SMasahiro Yamada /*
11*665e71b8SMasahiro Yamada  * The xlat_table section is for full, aligned page tables (4K).
12*665e71b8SMasahiro Yamada  * Removing them from .bss avoids forcing 4K alignment on
13*665e71b8SMasahiro Yamada  * the .bss section. The tables are initialized to zero by the translation
14*665e71b8SMasahiro Yamada  * tables library.
15*665e71b8SMasahiro Yamada  */
16*665e71b8SMasahiro Yamada #define XLAT_TABLE_SECTION				\
17*665e71b8SMasahiro Yamada 	xlat_table (NOLOAD) : {				\
18*665e71b8SMasahiro Yamada 		*(xlat_table)				\
19*665e71b8SMasahiro Yamada 	}
20*665e71b8SMasahiro Yamada 
21*665e71b8SMasahiro Yamada #endif /* BL_COMMON_LD_H */
22