summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip/u-boot-tpl.lds
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2019-04-02 20:41:24 +0800
committerKever Yang <kever.yang@rock-chips.com>2019-05-08 17:34:12 +0800
commitc34643e0db40bbcfaea8a0df8b6f4d0be7b0f71f (patch)
treedb4aea497f44d030aefae4a04a6645e8da50563e /arch/arm/mach-rockchip/u-boot-tpl.lds
parent5793e8c271f73da2ca50fa3d57d3fea7e3d2796c (diff)
rockchip: rk322x: add tpl support
Move original spl to tpl, and add spl to load next stage firmware, adapt all the address and option for them. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/mach-rockchip/u-boot-tpl.lds')
-rw-r--r--arch/arm/mach-rockchip/u-boot-tpl.lds12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/u-boot-tpl.lds b/arch/arm/mach-rockchip/u-boot-tpl.lds
new file mode 100644
index 0000000000..f5a89721ce
--- /dev/null
+++ b/arch/arm/mach-rockchip/u-boot-tpl.lds
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Rockchip Electronic Co.,Ltd
+ */
+
+#undef CONFIG_SPL_TEXT_BASE
+#define CONFIG_SPL_TEXT_BASE CONFIG_TPL_TEXT_BASE
+
+#undef CONFIG_SPL_MAX_SIZE
+#define CONFIG_SPL_MAX_SIZE CONFIG_TPL_MAX_SIZE
+
+#include "../cpu/u-boot-spl.lds"