]> Git Repo - qemu.git/commit - hw/rtc/m48t59-isa.c
Split ISA and sysbus versions of m48t59 device
authorDavid Gibson <[email protected]>
Tue, 8 Nov 2016 06:00:35 +0000 (17:00 +1100)
committerDavid Gibson <[email protected]>
Mon, 6 Feb 2017 01:33:21 +0000 (12:33 +1100)
commitc124c4d13bcb19fc866e7f6de075f906fca6af4a
treec66e94e375b8398b9e31068d73b31c0f3e6aac01
parent1fc125f5675df8f861c7a66fab6922c630a81eb6
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 <[email protected]>
Reviewed-by: Edgar E. Iglesias <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
hw/timer/Makefile.objs
hw/timer/m48t59-internal.h [new file with mode: 0644]
hw/timer/m48t59-isa.c [new file with mode: 0644]
hw/timer/m48t59.c
This page took 0.023101 seconds and 4 git commands to generate.