qemu/hw/arm
Joel Stanley b6e70d1d7f hw/arm/aspeed: Unlock SCU when running kernel
The ASPEED hardware contains a lock register for the SCU that disables
any writes to the SCU when it is locked. The machine comes up with the
lock enabled, but on all known hardware u-boot will unlock it and leave
it unlocked when loading the kernel.

This means the kernel expects the SCU to be unlocked. When booting from
an emulated ROM the normal u-boot unlock path is executed. Things don't
go well when booting using the -kernel command line, as u-boot does not
run first.

Change behaviour so that when a kernel is passed to the machine, set the
reset value of the SCU to be unlocked.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Message-id: 20171114122018.12204-1-joel@jms.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-11-20 13:47:49 +00:00
..
allwinner-a10.c
armv7m.c memory: Get rid of address_space_init_shareable 2017-09-22 01:06:51 +02:00
aspeed.c hw/arm/aspeed: Unlock SCU when running kernel 2017-11-20 13:47:49 +00:00
aspeed_soc.c hw/arm/aspeed: Unlock SCU when running kernel 2017-11-20 13:47:49 +00:00
bcm2835_peripherals.c
bcm2836.c
boot.c
collie.c
cubieboard.c
digic.c
digic_boards.c
exynos4_boards.c hw: add .min_cpus and .default_cpus fields to machine_class 2017-11-13 13:55:27 +00:00
exynos4210.c
fsl-imx6.c hw/arm: Mark the "fsl,imx6" device with user_creatable = false 2017-11-07 13:03:51 +00:00
fsl-imx25.c hw/arm: Mark the "fsl,imx25" device with user_creatable = false 2017-11-07 13:03:51 +00:00
fsl-imx31.c hw/arm: Mark the "fsl,imx31" device with user_creatable = false 2017-11-07 13:03:51 +00:00
gumstix.c
highbank.c highbank: validate register offset before access 2017-11-13 13:55:24 +00:00
imx25_pdk.c
integratorcp.c
kzm.c
mainstone.c
Makefile.objs msf2: Add Emcraft's Smartfusion2 SOM kit 2017-09-21 16:36:56 +01:00
mps2.c
msf2-soc.c msf2: Wire up SYSRESETREQ in SoC for system reset 2017-10-31 11:50:52 +00:00
msf2-som.c msf2: Add Emcraft's Smartfusion2 SOM kit 2017-09-21 16:36:56 +01:00
musicpal.c
netduino2.c
nseries.c
omap1.c
omap2.c
omap_sx1.c
palm.c
pxa2xx.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
pxa2xx_gpio.c
pxa2xx_pic.c
raspi.c hw: add .min_cpus and .default_cpus fields to machine_class 2017-11-13 13:55:27 +00:00
realview.c
sabrelite.c
spitz.c
stellaris.c
stm32f205_soc.c
strongarm.c migration: pre_save return int 2017-09-27 11:35:59 +01:00
strongarm.h
sysbus-fdt.c
tosa.c
trace-events
versatilepb.c
vexpress.c
virt-acpi-build.c
virt.c
xilinx_zynq.c
xlnx-zcu102.c hw: add .min_cpus and .default_cpus fields to machine_class 2017-11-13 13:55:27 +00:00
xlnx-zynqmp.c xlnx-zynqmp: Properly support the smp command line option 2017-11-13 13:55:26 +00:00
z2.c