coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
onboard.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef STOUT_ONBOARD_H
4 #define STOUT_ONBOARD_H
5 
6 #define STOUT_NIC_VENDOR_ID 0x10EC
7 #define STOUT_NIC_DEVICE_ID 0x8168
8 
9 #define XHCI_MODE 2 // Auto
10 #define XHCI_PORTS 3 // Port 0 & 1
11 #define XHCI_PREBOOT 0 // No PreOS boot support
12 #define XHCI_STREAMS 1 // Sure, lets have streams
13 
14 /* Write protect is active low */
15 #define GPIO_SPI_WP 7
16 
17 #endif