From 716536a9b6688710909aef69ac842bcc66039b92 Mon Sep 17 00:00:00 2001 From: Andrew Baumann Date: Fri, 29 Jan 2016 14:50:43 -0800 Subject: arm/boot: move highbank secure board setup code to common routine The new version is slightly different, to support Rasbperry Pi (in particular, Pi1's arm11 core which doesn't support v7 instructions such as MOVW). Tested-by: Peter Crosthwaite Reviewed-by: Peter Crosthwaite Signed-off-by: Andrew Baumann Signed-off-by: Peter Maydell --- include/hw/arm/arm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/hw/arm') diff --git a/include/hw/arm/arm.h b/include/hw/arm/arm.h index c26b0e357f..52ecf4aa8f 100644 --- a/include/hw/arm/arm.h +++ b/include/hw/arm/arm.h @@ -122,6 +122,11 @@ struct arm_boot_info { */ void arm_load_kernel(ARMCPU *cpu, struct arm_boot_info *info); +/* Write a secure board setup routine with a dummy handler for SMCs */ +void arm_write_secure_board_setup_dummy_smc(ARMCPU *cpu, + const struct arm_boot_info *info, + hwaddr mvbar_addr); + /* Multiplication factor to convert from system clock ticks to qemu timer ticks. */ extern int system_clock_scale; -- cgit v1.2.3-55-g7522