coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sata.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _DENVERTON_NS_SATA_H
4 #define _DENVERTON_NS_SATA_H
5 
6 /* PCI Configuration Space (D19:F0): SATA #0 */
7 /* PCI Configuration Space (D20:F0): SATA #1 */
8 #define PCH_SATA0_DEV PCI_DEV(0, SATA_DEV, SATA_FUNC)
9 #define PCH_SATA1_DEV PCI_DEV(0, SATA2_DEV, SATA2_FUNC)
10 
11 #define SATAGC 0x9c
12 #define SATAGC_AHCI (0 << 16)
13 #define SATAGC_RAID (1 << 16)
14 
15 #endif //_DENVERTON_NS_SATA_H