hw: move GPIO interfaces to hw/gpio/, configure with default-configs/
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2013 15:36:44 +0000 (16:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2013 16:13:16 +0000 (18:13 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/arm/Makefile.objs
hw/gpio/Makefile.objs
hw/gpio/omap_gpio.c [moved from hw/omap_gpio.c with 100% similarity]
hw/gpio/zaurus.c [moved from hw/zaurus.c with 100% similarity]

index 915073b..ec4d0cb 100644 (file)
@@ -4,8 +4,7 @@ obj-y += arm_sysctl.o arm11mpcore.o a9mpcore.o
 obj-y += exynos4210_pmu.o
 obj-y += a15mpcore.o
 obj-y += pxa2xx_pcmcia.o
-obj-y += zaurus.o
-obj-y += omap_clk.o omap_gpio.o
+obj-y += omap_clk.o
 obj-y += omap_gpmc.o omap_sdrc.o omap_tap.o omap_l4.o
 obj-y += cbus.o
 obj-y += mst_fpga.o
index f8d8ee8..2c8b51f 100644 (file)
@@ -1,3 +1,6 @@
 common-obj-$(CONFIG_MAX7310) += max7310.o
 common-obj-$(CONFIG_PL061) += pl061.o
 common-obj-$(CONFIG_PUV3) += puv3_gpio.o
+common-obj-$(CONFIG_ZAURUS) += zaurus.o
+
+obj-$(CONFIG_OMAP) += omap_gpio.o
similarity index 100%
rename from hw/omap_gpio.c
rename to hw/gpio/omap_gpio.c
similarity index 100%
rename from hw/zaurus.c
rename to hw/gpio/zaurus.c