summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/northbridge/intel/haswell/pei_data.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/northbridge/intel/haswell/pei_data.h b/src/northbridge/intel/haswell/pei_data.h
index 6bdfde4494..4f2f80dff5 100644
--- a/src/northbridge/intel/haswell/pei_data.h
+++ b/src/northbridge/intel/haswell/pei_data.h
@@ -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;