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> |
||
|---|---|---|
| .. | ||
| a9scu.h | ||
| arm11scu.h | ||
| arm_integrator_debug.h | ||
| aspeed_scu.h | ||
| aspeed_sdmc.h | ||
| auxbus.h | ||
| bcm2835_mbox.h | ||
| bcm2835_mbox_defs.h | ||
| bcm2835_property.h | ||
| bcm2835_rng.h | ||
| imx6_ccm.h | ||
| imx6_src.h | ||
| imx25_ccm.h | ||
| imx31_ccm.h | ||
| imx_ccm.h | ||
| ivshmem.h | ||
| mips_cmgcr.h | ||
| mips_cpc.h | ||
| mips_itu.h | ||
| mmio_interface.h | ||
| mps2-scc.h | ||
| msf2-sysreg.h | ||
| stm32f2xx_syscfg.h | ||
| tmp105_regs.h | ||
| unimp.h | ||
| vmcoreinfo.h | ||
| zynq-xadc.h | ||