]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arm/include/asm/arch-rockchip/boot0.h
rockchip: reserve memory for rk3399 ATF data
[people/ms/u-boot.git] / arch / arm / include / asm / arch-rockchip / boot0.h
CommitLineData
3d54eabc
PT
1/*
2 * Copyright 2017 Theobroma Systems Design und Consulting GmbH
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7/*
8 * Execution starts on the instruction following this 4-byte header
9 * (containing the magic 'RK33').
10 *
11 * To make life easier for everyone, we build the SPL binary with
12 * space for this 4-byte header already included in the binary.
13 */
14
15#ifdef CONFIG_SPL_BUILD
16 .space 0x4 /* space for the 'RK33' */
17#endif
18 b reset
fa1392a2
KY
19
20#if defined(CONFIG_ROCKCHIP_RK3399) && defined(CONFIG_SPL_BUILD)
21 .space CONFIG_ROCKCHIP_SPL_RESERVE_IRAM /* space for the ATF data */
22#endif