xemu/include/hw/misc
Havard Skinnemoen e5a7ba8788 hw/misc: Add NPCM7xx System Global Control Registers device model
Implement a device model for the System Global Control Registers in the
NPCM730 and NPCM750 BMC SoCs.

This is primarily used to enable SMP boot (the boot ROM spins reading
the SCRPAD register) and DDR memory initialization; other registers are
best effort for now.

The reset values of the MDLR and PWRON registers are determined by the
SoC variant (730 vs 750) and board straps respectively.

Reviewed-by: Joel Stanley <joel@jms.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Signed-off-by: Havard Skinnemoen <hskinnemoen@google.com>
Message-id: 20200911052101.2602693-2-hskinnemoen@google.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-09-14 14:24:15 +01:00
..
macio Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
a9scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-cpucfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-ccu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-dramc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-h3-sysctrl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
allwinner-sid.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm11scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
arm_integrator_debug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
armsse-cpuid.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
armsse-mhu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_scu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_sdmc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
aspeed_xdma.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
auxbus.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
avr_power.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_mbox.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_mbox_defs.h hw/arm/bcm283x: Correct the license text 2020-03-23 17:22:30 +00:00
bcm2835_mphi.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_property.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_rng.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
bcm2835_thermal.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
cbus.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
empty_slot.h hw/misc/empty_slot: Name the slots when created 2020-06-09 06:59:44 +02:00
grlib_ahb_apb_pnp.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6_src.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx6ul_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_gpr.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx7_snvs.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx25_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx31_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx_ccm.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
imx_rngc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-secctl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-sysctl.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
iotkit-sysinfo.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
ivshmem.h ivshmem: add check on protocol version in QEMU 2015-10-24 18:03:18 +02:00
mac_via.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
max111x.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_cmgcr.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_cpc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mips_itu.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mos6522.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mps2-fpgaio.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
mps2-scc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
msf2-sysreg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
npcm7xx_gcr.h hw/misc: Add NPCM7xx System Global Control Registers device model 2020-09-14 14:24:15 +01:00
nrf51_rng.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pca9552.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
pca9552_regs.h misc: add pca9552 LED blinker model 2018-06-08 13:15:32 +01:00
pvpanic.h include: Make headers more self-contained 2019-08-16 13:31:51 +02:00
sifive_e_prci.h hw/riscv: Move sifive_e_prci model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_test.h hw/riscv: Move sifive_test model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_otp.h hw/riscv: Move sifive_u_otp model to hw/misc 2020-09-09 15:54:19 -07:00
sifive_u_prci.h hw/riscv: Move sifive_u_prci model to hw/misc 2020-09-09 15:54:19 -07:00
stm32f2xx_syscfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f4xx_exti.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
stm32f4xx_syscfg.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tmp105_regs.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
tz-mpc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tz-msc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
tz-ppc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
unimp.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
vmcoreinfo.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00
zynq-xadc.h Use DECLARE_*CHECKER* macros 2020-09-09 09:27:09 -04:00