From 9d7f416cedb5e9d7a809952e9483e05de5d30eda Mon Sep 17 00:00:00 2001 From: Steve Rae Date: Tue, 21 Jun 2016 16:43:05 -0700 Subject: arm: bcm235xx: implement the boot0 hook code Choose the Kconfig boot0 hook option and implement the required code. Signed-off-by: Steve Rae --- arch/arm/include/asm/arch-bcm235xx/boot0.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/arm/include/asm/arch-bcm235xx/boot0.h (limited to 'arch/arm/include/asm/arch-bcm235xx/boot0.h') 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 0000000..7e72882 --- /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 */ -- cgit v1.1