libpayload/ahci: Fix a warning by decompartmentalise the AHCI driver.
Decompartmentalise AHCI driver into two parts, ATA and ATAPI. Add a few superficial comments while here. This also fixes a compiler warning. Change-Id: Ia1fd545b39868a81cbc311f6ffc786f9f1f61415 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/4783 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
09af15e09e
commit
efc5841ab4
@@ -54,10 +54,18 @@ libc-$(CONFIG_GEODELX_VIDEO_CONSOLE) += video/font8x16.c
|
||||
libc-$(CONFIG_COREBOOT_VIDEO_CONSOLE) += video/corebootfb.c
|
||||
libc-$(CONFIG_COREBOOT_VIDEO_CONSOLE) += video/font8x16.c
|
||||
|
||||
# AHCI/ATAPI driver
|
||||
libc-$(CONFIG_STORAGE) += storage/storage.c
|
||||
libc-$(CONFIG_STORAGE_ATA) += storage/ata.c
|
||||
libc-$(CONFIG_STORAGE_ATAPI) += storage/atapi.c
|
||||
libc-$(CONFIG_STORAGE_AHCI) += storage/ahci.c
|
||||
libc-$(CONFIG_STORAGE_AHCI) += storage/ahci_common.c
|
||||
ifeq ($(CONFIG_STORAGE_ATA),y)
|
||||
libc-$(CONFIG_STORAGE_ATA) += storage/ata.c
|
||||
libc-$(CONFIG_STORAGE_ATA) += storage/ahci_ata.c
|
||||
endif
|
||||
ifeq ($(CONFIG_STORAGE_ATAPI),y)
|
||||
libc-$(CONFIG_STORAGE_ATAPI) += storage/atapi.c
|
||||
libc-$(CONFIG_STORAGE_ATAPI) += storage/ahci_atapi.c
|
||||
endif
|
||||
|
||||
# USB stack
|
||||
libc-$(CONFIG_USB) += usb/usbinit.c
|
||||
|
Reference in New Issue
Block a user