hw/arm/armsse: Allow boards to specify init-svtor
commit321874196d0fff06eff1df43b20cbadcfe699aad
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:47 +0000 (21 18:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 Feb 2019 18:17:47 +0000 (21 18:17 +0000)
tree8eeee175c09a1a95216ef5c41989cca2aee4dd05
parent74ecf7677b72084b25ace9de3191abe3afdaeff6
hw/arm/armsse: Allow boards to specify init-svtor

The Musca boards have DAPLink firmware that sets the initial
secure VTOR value (the location of the vector table) differently
depending on the boot mode (from flash, from RAM, etc). Export
the init-svtor as a QOM property of the ARMSSE object so that
the board can change it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
hw/arm/armsse.c
include/hw/arm/armsse.h