libpayload/storage/ahci: Use pacc pointer to read device class
The PCI bus gets already scanned while gathering system information. Therefore, use the pacc pointer from sysinfo_t to read the device class of PCI devices instead of rescanning the bus. Change-Id: I4c79e71777e718f5065107ebf780ca9fdb4f1b0c Signed-off-by: Felix Singer <felix.singer@secunet.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46416 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
@@ -29,6 +29,6 @@
|
||||
#ifndef _STORAGE_AHCI_H
|
||||
#define _STORAGE_AHCI_H
|
||||
|
||||
void ahci_initialize(void);
|
||||
void ahci_initialize(pcidev_t dev);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user