summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSteve Rae <srae@broadcom.com>2016-06-21 16:43:05 -0700
committerTom Rini <trini@konsulko.com>2016-06-24 17:24:37 -0400
commit9d7f416cedb5e9d7a809952e9483e05de5d30eda (patch)
tree65e26133f561098512bd44e988952b0725524c69 /arch
parent202b84ae59d1bc356813b81b9611dcb8af610d97 (diff)
downloadblackbird-obmc-uboot-9d7f416cedb5e9d7a809952e9483e05de5d30eda.tar.gz
blackbird-obmc-uboot-9d7f416cedb5e9d7a809952e9483e05de5d30eda.zip
arm: bcm235xx: implement the boot0 hook code
Choose the Kconfig boot0 hook option and implement the required code. Signed-off-by: Steve Rae <srae@broadcom.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-bcm235xx/boot0.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-bcm235xx/boot0.h b/arch/arm/include/asm/arch-bcm235xx/boot0.h
new file mode 100644
index 0000000000..7e72882725
--- /dev/null
+++ b/arch/arm/include/asm/arch-bcm235xx/boot0.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright 2016 Broadcom Corporation.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __BOOT0_H
+#define __BOOT0_H
+
+/* BOOT0 header information */
+#define ARM_SOC_BOOT0_HOOK \
+ .word 0xbabeface; \
+ .word _end - _start
+
+#endif /* __BOOT0_H */
OpenPOWER on IntegriCloud