mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 05:50:37 +00:00
1e0228fd20
Without any clock controller, the Linux kernel was hitting division by zero during boot or with clk_summary: [ 0.000000] [<c031054c>] (unwind_backtrace) from [<c030ba6c>] (show_stack+0x10/0x14) [ 0.000000] [<c030ba6c>] (show_stack) from [<c05b2660>] (dump_stack+0x88/0x9c) [ 0.000000] [<c05b2660>] (dump_stack) from [<c05b11a4>] (Ldiv0+0x8/0x10) [ 0.000000] [<c05b11a4>] (Ldiv0) from [<c06ad1e0>] (samsung_pll45xx_recalc_rate+0x58/0x74) [ 0.000000] [<c06ad1e0>] (samsung_pll45xx_recalc_rate) from [<c0692ec0>] (clk_register+0x39c/0x63c) [ 0.000000] [<c0692ec0>] (clk_register) from [<c125d360>] (samsung_clk_register_pll+0x2e0/0x3d4) [ 0.000000] [<c125d360>] (samsung_clk_register_pll) from [<c125d7e8>] (exynos4_clk_init+0x1b0/0x5e4) [ 0.000000] [<c125d7e8>] (exynos4_clk_init) from [<c12335f4>] (of_clk_init+0x17c/0x210) [ 0.000000] [<c12335f4>] (of_clk_init) from [<c1204700>] (time_init+0x24/0x2c) [ 0.000000] [<c1204700>] (time_init) from [<c1200b2c>] (start_kernel+0x24c/0x38c) [ 0.000000] [<c1200b2c>] (start_kernel) from [<4020807c>] (0x4020807c) Provide stub for clock controller returning reset values for PLLs. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Message-id: 20170226200142.31169-1-krzk@kernel.org Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
59 lines
1.9 KiB
Makefile
59 lines
1.9 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
|
|
|
|
common-obj-y += unimp.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 exynos4210_clk.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_RASPI) += bcm2835_rng.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) += auxbus.o
|
|
obj-$(CONFIG_ASPEED_SOC) += aspeed_scu.o aspeed_sdmc.o
|