mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Split ISA and sysbus versions of m48t59 device
The m48t59 device supports both ISA and direct sysbus attached versions of the device in the one .c file. This can be awkward for some embedded machine types which need the sysbus M48T59, but don't want to pull in the ISA bus code and its other dependencies. Therefore, this patch splits out the code for the ISA attached M48T59 into its own C file. It will be built when both CONFIG_M48T59 and CONFIG_ISA_BUS are enabled. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1fc125f567
commit
c124c4d13b
4 changed files with 284 additions and 210 deletions
|
@ -6,6 +6,9 @@ common-obj-$(CONFIG_DS1338) += ds1338.o
|
|||
common-obj-$(CONFIG_HPET) += hpet.o
|
||||
common-obj-$(CONFIG_I8254) += i8254_common.o i8254.o
|
||||
common-obj-$(CONFIG_M48T59) += m48t59.o
|
||||
ifeq ($(CONFIG_ISA_BUS),y)
|
||||
common-obj-$(CONFIG_M48T59) += m48t59-isa.o
|
||||
endif
|
||||
common-obj-$(CONFIG_PL031) += pl031.o
|
||||
common-obj-$(CONFIG_PUV3) += puv3_ost.o
|
||||
common-obj-$(CONFIG_TWL92230) += twl92230.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue