qemu-e2k/hw/misc
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
..
macio pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
a9scu.c
applesmc.c Convert single line fprintf(.../n) to warn_report() 2017-09-19 14:09:34 +02:00
arm11scu.c
arm_integrator_debug.c
arm_l2x0.c
arm_sysctl.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
aspeed_scu.c hw/arm/aspeed: Unlock SCU when running kernel 2017-11-20 13:47:49 +00:00
aspeed_sdmc.c Convert error_report() to warn_report() 2017-07-13 13:49:58 +02:00
auxbus.c aux-to-i2c-bridge: don't allow user to create one 2017-09-26 09:06:02 +03:00
bcm2835_mbox.c
bcm2835_property.c
bcm2835_rng.c
cbus.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
debugexit.c
eccmemctl.c hw/misc: QOM'ify eccmemctl.c 2017-06-02 05:54:43 +01:00
edu.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
exynos4210_clk.c
exynos4210_pmu.c hw/misc/exynos4210_pmu: Add support for system poweroff 2017-06-13 14:56:58 +01:00
exynos4210_rng.c hw/misc: Add Exynos4210 Pseudo Random Number Generator 2017-07-11 11:21:26 +01:00
hyperv_testdev.c
imx6_ccm.c
imx6_src.c
imx25_ccm.c
imx31_ccm.c
imx_ccm.c
ivshmem.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
Makefile.objs build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets 2017-11-16 17:46:53 +02:00
max111x.c vmstate: error hint for failed equal checks 2017-06-28 11:18:44 +02:00
milkymist-hpdmc.c
milkymist-pfpu.c
mips_cmgcr.c mips_cmgcr: Convert to DEFINE_PROP_LINK 2017-07-14 12:04:43 +02:00
mips_cpc.c
mips_itu.c
mmio_interface.c mmio-interface: Mark as not user creatable 2017-08-15 17:42:02 +01:00
mps2-scc.c hw/mps2_scc: fix incorrect properties 2017-07-31 13:11:56 +01:00
msf2-sysreg.c msf2: Microsemi Smartfusion2 System Register block 2017-09-21 16:36:56 +01:00
mst_fpga.c
omap_clk.c
omap_gpmc.c
omap_l4.c
omap_sdrc.c
omap_tap.c
pc-testdev.c
pci-testdev.c pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices 2017-10-15 05:54:43 +03:00
puv3_pm.c
pvpanic.c pvpanic: use get_uint() for "ioport" property 2017-06-20 14:31:33 +02:00
sga.c
slavio_misc.c hw/misc: QOM'ify slavio_misc.c 2017-06-02 05:54:43 +01:00
stm32f2xx_syscfg.c
tmp105.c
tmp105.h
tmp421.c hw/misc: add a TMP42{1, 2, 3} device model 2017-06-13 14:56:59 +01:00
trace-events msf2: Microsemi Smartfusion2 System Register block 2017-09-21 16:36:56 +01:00
unimp.c unimplemented-device: Remove user_creatable flag 2017-05-17 10:37:01 -03:00
vmcoreinfo.c vmcoreinfo: put it in the 'misc' device category 2017-11-16 17:46:53 +02:00
vmport.c
zynq_slcr.c shutdown: Add source information to SHUTDOWN and RESET 2017-05-23 13:28:17 +02:00
zynq-xadc.c