1c8a2388aa
The SCU is a collection of chip-level control registers that manage the various functions supported by ASPEED SoCs. Typically the bits control interactions with clocks, external hardware or reset behaviour, and we can largly take a hands-off approach to reads and writes. Firmware makes heavy use of the state to determine how to boot, but the reset values vary from SoC to SoC (eg AST2400 vs AST2500). A qdev property is exposed so that the integrating SoC model can configure the silicon revision, which in-turn selects the appropriate reset values. Further qdev properties are exposed so the board model can configure the board-dependent hardware strapping. Almost all provided AST2400 reset values are specified by the datasheet. The notable exception is SOC_SCRATCH1, where we mark the DRAM as successfully initialised to avoid unnecessary dark corners in the SoC's u-boot support. Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Message-id: 1466744305-23163-2-git-send-email-andrew@aj.id.au Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: drop unnecessary inttypes.h include] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
56 lines
1.8 KiB
Makefile
56 lines
1.8 KiB
Makefile
common-obj-$(CONFIG_APPLESMC) += applesmc.o
|
|
common-obj-$(CONFIG_MAX111X) += max111x.o
|
|
common-obj-$(CONFIG_TMP105) += tmp105.o
|
|
common-obj-$(CONFIG_ISA_DEBUG) += debugexit.o
|
|
common-obj-$(CONFIG_SGA) += sga.o
|
|
common-obj-$(CONFIG_ISA_TESTDEV) += pc-testdev.o
|
|
common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o
|
|
|
|
obj-$(CONFIG_VMPORT) += vmport.o
|
|
|
|
# ARM devices
|
|
common-obj-$(CONFIG_PL310) += arm_l2x0.o
|
|
common-obj-$(CONFIG_INTEGRATOR_DEBUG) += arm_integrator_debug.o
|
|
common-obj-$(CONFIG_A9SCU) += a9scu.o
|
|
common-obj-$(CONFIG_ARM11SCU) += arm11scu.o
|
|
|
|
# PKUnity SoC devices
|
|
common-obj-$(CONFIG_PUV3) += puv3_pm.o
|
|
|
|
common-obj-$(CONFIG_MACIO) += macio/
|
|
|
|
obj-$(CONFIG_IVSHMEM) += ivshmem.o
|
|
|
|
obj-$(CONFIG_REALVIEW) += arm_sysctl.o
|
|
obj-$(CONFIG_NSERIES) += cbus.o
|
|
obj-$(CONFIG_ECCMEMCTL) += eccmemctl.o
|
|
obj-$(CONFIG_EXYNOS4) += exynos4210_pmu.o
|
|
obj-$(CONFIG_IMX) += imx_ccm.o
|
|
obj-$(CONFIG_IMX) += imx31_ccm.o
|
|
obj-$(CONFIG_IMX) += imx25_ccm.o
|
|
obj-$(CONFIG_IMX) += imx6_ccm.o
|
|
obj-$(CONFIG_IMX) += imx6_src.o
|
|
obj-$(CONFIG_MILKYMIST) += milkymist-hpdmc.o
|
|
obj-$(CONFIG_MILKYMIST) += milkymist-pfpu.o
|
|
obj-$(CONFIG_MAINSTONE) += mst_fpga.o
|
|
obj-$(CONFIG_OMAP) += omap_clk.o
|
|
obj-$(CONFIG_OMAP) += omap_gpmc.o
|
|
obj-$(CONFIG_OMAP) += omap_l4.o
|
|
obj-$(CONFIG_OMAP) += omap_sdrc.o
|
|
obj-$(CONFIG_OMAP) += omap_tap.o
|
|
obj-$(CONFIG_RASPI) += bcm2835_mbox.o
|
|
obj-$(CONFIG_RASPI) += bcm2835_property.o
|
|
obj-$(CONFIG_SLAVIO) += slavio_misc.o
|
|
obj-$(CONFIG_ZYNQ) += zynq_slcr.o
|
|
obj-$(CONFIG_ZYNQ) += zynq-xadc.o
|
|
obj-$(CONFIG_STM32F2XX_SYSCFG) += stm32f2xx_syscfg.o
|
|
obj-$(CONFIG_MIPS_CPS) += mips_cmgcr.o
|
|
obj-$(CONFIG_MIPS_CPS) += mips_cpc.o
|
|
obj-$(CONFIG_MIPS_ITU) += mips_itu.o
|
|
|
|
obj-$(CONFIG_PVPANIC) += pvpanic.o
|
|
obj-$(CONFIG_EDU) += edu.o
|
|
obj-$(CONFIG_HYPERV_TESTDEV) += hyperv_testdev.o
|
|
obj-$(CONFIG_AUX) += aux.o
|
|
obj-$(CONFIG_ASPEED_SOC) += aspeed_scu.o
|