hw/ide/ahci: Move allwinner code into a separate file
commit2585c67983d726da98fbfb8b742d722c39f885cf
authorThomas Huth <thuth@redhat.com>
Tue, 31 Oct 2017 17:48:59 +0000 (31 13:48 -0400)
committerJohn Snow <jsnow@redhat.com>
Tue, 31 Oct 2017 17:48:59 +0000 (31 13:48 -0400)
tree480e0ba243e9d53528fc3b787eb318fd88ffdf43
parent7fa00e204902cee0b33a0c60de87e87319d1809f
hw/ide/ahci: Move allwinner code into a separate file

The allwinner code is only needed for the allwinner board (for which
we also have a separate CONFIG_ALLWINNER_A10 config switch), so it
does not make sense that we compile this for all the other boards
that need AHCI, too. Let's move it to a separate file that is only
compiled when CONFIG_ALLWINNER_A10 is set.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1508784509-29377-1-git-send-email-thuth@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/Makefile.objs
hw/ide/ahci-allwinner.c [new file with mode: 0644]
hw/ide/ahci.c