summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2016-04-08 01:14:22 +0200
committerKlaus Goger <klaus.goger@theobroma-systems.com>2016-09-18 13:45:15 +0200
commita8bd0f5f3be5809d4960af553c8dced3bba3df6b (patch)
tree2d229e1d6926331965b64aaa2e9c85c23a95f6ac /arch
parent1051a80e9f5f28eeaf3d0cd2e6c76624d702562a (diff)
sunxi: enable SPL for sun9i
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-sunxi/spl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/spl.h b/arch/arm/include/asm/arch-sunxi/spl.h
index a129dd4ee0..2564d4ab0d 100644
--- a/arch/arm/include/asm/arch-sunxi/spl.h
+++ b/arch/arm/include/asm/arch-sunxi/spl.h
@@ -13,7 +13,11 @@
#define SPL_HEADER_VERSION 1
/* Note: A80 will require special handling here: SPL_ADDR 0x10000 */
+#if defined(CONFIG_MACH_SUN9I)
+#define SPL_ADDR 0x10000
+#else
#define SPL_ADDR 0x0
+#endif
/* boot head definition from sun4i boot code */
struct boot_file_head {