summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-05-06 17:54:04 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-05-16 15:21:39 +0000
commitab660f533f7cb2868764a3ae60a245ab858eb314 (patch)
tree7dbec5224995eb3ee4765fc6a7beacc934086192 /src/vendorcode/amd
parent2ec44ec95fece227b9dbd7bf70e03c2ddcb5e45a (diff)
soc/amd/cezanne/fsp_m_params: add defines for FSP USB struct version
Add and use defines instead of magic values in fsp_m_params.c. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ie0e33eb0af5310ab4610ea8951688464c4960260 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64126 Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Raul Rangel <rrangel@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/fsp/cezanne/FspUsb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vendorcode/amd/fsp/cezanne/FspUsb.h b/src/vendorcode/amd/fsp/cezanne/FspUsb.h
index 6563cacc81..fea1fee3bd 100644
--- a/src/vendorcode/amd/fsp/cezanne/FspUsb.h
+++ b/src/vendorcode/amd/fsp/cezanne/FspUsb.h
@@ -3,6 +3,9 @@
#include <FspUpd.h>
+#define FSP_USB_STRUCT_MAJOR_VERSION 0xd
+#define FSP_USB_STRUCT_MINOR_VERSION 0x6
+
#define USB2_PORT_COUNT 8
#define USB3_PORT_COUNT 4
#define USBC_COMBO_PHY_COUNT 2