From 45b94bc15fe14685c42d3175cdf364e49606ce54 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 9 Oct 2012 12:52:05 +0200 Subject: libpayload: Export device count in storage interface FILO can use this as offset to enumerate AHCI and its own IDE devices together. Change-Id: I57380e7bd1df6db5c882427e9a34d068f4348fb2 Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/1846 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- payloads/libpayload/include/storage/storage.h | 1 + 1 file changed, 1 insertion(+) (limited to 'payloads/libpayload/include') diff --git a/payloads/libpayload/include/storage/storage.h b/payloads/libpayload/include/storage/storage.h index 3958c4b3c6..ef61cd287d 100644 --- a/payloads/libpayload/include/storage/storage.h +++ b/payloads/libpayload/include/storage/storage.h @@ -68,6 +68,7 @@ typedef struct storage_dev { void (*detach_device)(struct storage_dev *); } storage_dev_t; +int storage_device_count(void); int storage_attach_device(storage_dev_t *dev); -- cgit v1.2.3