nb/intel/haswell/pei_data.h: Define `SPD_LEN`

Change-Id: I34561372bcdd00b1b3e4dcd6be89fa47d2af9b42
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50541
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-02-11 14:24:03 +01:00
parent fb95555088
commit 9a094c4b63
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@
typedef void (*tx_byte_func)(unsigned char byte);
#define PEI_VERSION 15
#define SPD_LEN 256
#define MAX_USB2_PORTS 16
#define MAX_USB3_PORTS 16
#define USB_OC_PIN_SKIP 8
@ -82,7 +84,7 @@ struct pei_data
int usb_xhci_on_resume;
struct usb2_port_setting usb2_ports[MAX_USB2_PORTS];
struct usb3_port_setting usb3_ports[MAX_USB3_PORTS];
uint8_t spd_data[4][256];
uint8_t spd_data[4][SPD_LEN];
tx_byte_func tx_byte;
} __packed;