diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-05 13:07:03 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-08 18:13:13 +0200 |
commit | 53ed424e09f555598f7af286787a76d9c397e812 (patch) | |
tree | 0ff80ee3dc9b0868c3c1886180d032f0aeef8c86 | |
parent | fc97bb5ba3e7239c0b6d24095df6784868dfebbf (diff) |
hw: move I2C controllers to hw/i2c/, configure via default-configs/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | default-configs/arm-softmmu.mak | 1 | ||||
-rw-r--r-- | hw/arm/Makefile.objs | 5 | ||||
-rw-r--r-- | hw/i2c/Makefile.objs | 3 | ||||
-rw-r--r-- | hw/i2c/bitbang_i2c.c (renamed from hw/bitbang_i2c.c) | 0 | ||||
-rw-r--r-- | hw/i2c/exynos4210_i2c.c (renamed from hw/exynos4210_i2c.c) | 0 | ||||
-rw-r--r-- | hw/i2c/omap_i2c.c (renamed from hw/omap_i2c.c) | 0 |
6 files changed, 6 insertions, 3 deletions
diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index a7dd44a432..24b0d41114 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -50,6 +50,7 @@ CONFIG_CADENCE=y CONFIG_XGMAC=y CONFIG_EXYNOS4=y CONFIG_PXA2XX=y +CONFIG_BITBANG_I2C=y CONFIG_FRAMEBUFFER=y CONFIG_MARVELL_88W8618=y CONFIG_OMAP=y diff --git a/hw/arm/Makefile.objs b/hw/arm/Makefile.objs index 3efefe59cf..45bde58952 100644 --- a/hw/arm/Makefile.objs +++ b/hw/arm/Makefile.objs @@ -6,20 +6,19 @@ obj-y += realview_gic.o arm_sysctl.o arm11mpcore.o a9mpcore.o obj-y += exynos4210_gic.o exynos4210_combiner.o obj-y += exynos4210_uart.o exynos4210_pwm.o obj-y += exynos4210_pmu.o exynos4210_mct.o -obj-y += exynos4210_rtc.o exynos4210_i2c.o +obj-y += exynos4210_rtc.o obj-y += arm_mptimer.o a15mpcore.o obj-y += armv7m_nvic.o obj-y += pxa2xx_timer.o pxa2xx_dma.o obj-y += pxa2xx_mmci.o pxa2xx_pcmcia.o pxa2xx_keypad.o obj-y += zaurus.o -obj-y += omap_dma.o omap_clk.o omap_mmc.o omap_i2c.o \ +obj-y += omap_dma.o omap_clk.o omap_mmc.o \ omap_gpio.o omap_intc.o omap_uart.o obj-y += soc_dma.o omap_gptimer.o omap_synctimer.o \ omap_gpmc.o omap_sdrc.o omap_spi.o omap_tap.o omap_l4.o obj-y += tsc210x.o obj-y += cbus.o tusb6010.o obj-y += mst_fpga.o -obj-y += bitbang_i2c.o obj-y += strongarm.o obj-y += imx_serial.o imx_ccm.o imx_timer.o imx_avic.o obj-$(CONFIG_KVM) += kvm/arm_gic.o diff --git a/hw/i2c/Makefile.objs b/hw/i2c/Makefile.objs index f6bd8fa6ed..648278e7c4 100644 --- a/hw/i2c/Makefile.objs +++ b/hw/i2c/Makefile.objs @@ -2,3 +2,6 @@ common-obj-y += core.o smbus.o smbus_eeprom.o common-obj-$(CONFIG_VERSATILE_I2C) += versatile_i2c.o common-obj-$(CONFIG_ACPI) += smbus_ich9.o common-obj-$(CONFIG_APM) += pm_smbus.o +common-obj-$(CONFIG_BITBANG_I2C) += bitbang_i2c.o +common-obj-$(CONFIG_EXYNOS4) += exynos4210_i2c.o +obj-$(CONFIG_OMAP) += omap_i2c.o diff --git a/hw/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index b8e6d3a103..b8e6d3a103 100644 --- a/hw/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c diff --git a/hw/exynos4210_i2c.c b/hw/i2c/exynos4210_i2c.c index 196f88907d..196f88907d 100644 --- a/hw/exynos4210_i2c.c +++ b/hw/i2c/exynos4210_i2c.c diff --git a/hw/omap_i2c.c b/hw/i2c/omap_i2c.c index efb2254aea..efb2254aea 100644 --- a/hw/omap_i2c.c +++ b/hw/i2c/omap_i2c.c |