qemu-e2k/hw/arm
Andrew Jeffery 87e79af074 palmetto-bmc: Configure the SCU's hardware strapping register
The magic constant configures the following options:

* 28:27: Configure DRAM size as 256MB
* 26:24: DDR3 SDRAM with CL = 6, CWL = 5
* 23: Configure 24/48MHz CLKIN
* 22: Disable GPIOE pass-through mode
* 21: Disable GPIOD pass-through mode
* 20: Enable LPC decode of SuperIO 0x2E/0x4E addresses
* 19: Disable ACPI
* 18: Configure 48MHz CLKIN
* 17: Disable BMC 2nd boot watchdog timer
* 16: Decode SuperIO address 0x2E
* 15: VGA Class Code
* 14: Enable LPC dedicated reset pin
* 13:12: Enable SPI Master and SPI Slave to AHB Bridge
* 11:10: Select CPU:AHB ratio = 2:1
* 9:8: Select 384MHz H-PLL
* 7: Configure MAC#2 for RMII/NCSI
* 6: Configure MAC#1 for RMII/NCSI
* 5: No VGA BIOS ROM
* 4: Boot using 32bit SPI address mode
* 3:2: Select 16MB VGA memory
* 1:0: Boot from SPI flash memory

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Cédric Le Goater <clg@kaod.org>
Message-id: 1466744305-23163-4-git-send-email-andrew@aj.id.au
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-06-27 15:37:33 +01:00
..
Makefile.objs i.MX: Add sabrelite i.MX6 emulation. 2016-05-12 13:22:29 +01:00
allwinner-a10.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
armv7m.c hw/arm: QOM'ify armv7m.c 2016-05-12 13:40:48 +01:00
ast2400.c ast2400: Integrate the SCU model and set silicon revision 2016-06-27 15:37:33 +01:00
bcm2835_peripherals.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
bcm2836.c hw/arm/bcm2836: Wire up CPU timer interrupts correctly 2016-04-04 17:33:51 +01:00
boot.c ARM: Virt: Set numa-node-id for cpu and memory nodes 2016-05-12 13:22:27 +01:00
collie.c explicitly include qom/cpu.h 2016-05-19 16:42:27 +02:00
cubieboard.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
digic.c hw/char: QOM'ify digic-uart model 2016-06-06 16:59:31 +01:00
digic_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
exynos4_boards.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
exynos4210.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
fsl-imx6.c Add ENET device to i.MX6 SOC. 2016-06-02 10:42:46 +08:00
fsl-imx25.c Add ENET/Gbps Ethernet support to FEC device 2016-06-02 10:42:46 +08:00
fsl-imx31.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
gumstix.c machine: Use type_init() to register machine classes 2016-03-16 15:34:05 -03:00
highbank.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
imx25_pdk.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
integratorcp.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
kzm.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
mainstone.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
musicpal.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
netduino2.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
nseries.c vl: Eliminate usb_enabled() 2016-06-13 13:24:41 +02:00
omap1.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
omap2.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
omap_sx1.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
palm.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
palmetto-bmc.c palmetto-bmc: Configure the SCU's hardware strapping register 2016-06-27 15:37:33 +01:00
pxa2xx.c pxa2xx: Unconditionally enable USB controller 2016-06-13 13:24:41 +02:00
pxa2xx_gpio.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
pxa2xx_pic.c hw/arm: QOM'ify pxa2xx_pic.c 2016-05-12 13:42:08 +01:00
raspi.c hw: explicitly include qemu-common.h and cpu.h 2016-03-22 22:20:17 +01:00
realview.c vl: Eliminate usb_enabled() 2016-06-13 13:24:41 +02:00
sabrelite.c i.MX: Add sabrelite i.MX6 emulation. 2016-05-12 13:22:29 +01:00
spitz.c hw/arm: QOM'ify spitz.c 2016-05-12 13:42:09 +01:00
stellaris.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
stm32f205_soc.c hw/char: QOM'ify stm32f2xx_usart model 2016-06-06 16:59:32 +01:00
strongarm.c hw: explicitly include qemu/log.h 2016-05-19 16:42:29 +02:00
strongarm.h arm: include cpu-qom.h in files that require ARMCPU 2016-05-19 16:42:27 +02:00
sysbus-fdt.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
tosa.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
trace-events trace: split out trace events for hw/arm/ directory 2016-06-20 17:22:16 +01:00
versatilepb.c vl: Eliminate usb_enabled() 2016-06-13 13:24:41 +02:00
vexpress.c hw/char: QOM'ify pl011 model 2016-06-06 16:59:31 +01:00
virt-acpi-build.c ACPI: ARM: Present GIC version in MADT table 2016-06-17 15:23:51 +01:00
virt.c hw/arm/virt: create the 2.7 machine type 2016-06-14 15:59:13 +01:00
xilinx_zynq.c hw/char: QOM'ify cadence_uart model 2016-06-06 16:59:31 +01:00
xlnx-ep108.c zynqmp: Add the ZCU102 board 2016-06-06 16:59:32 +01:00
xlnx-zynqmp.c arm: xlnx-zynqmp: Add xlnx-dp and xlnx-dpdma 2016-06-14 16:01:03 +01:00
z2.c ssi: Move ssi.h into a separate directory 2016-01-21 14:15:03 +00:00