summaryrefslogtreecommitdiff
path: root/src/commonlib/include/commonlib/coreboot_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commonlib/include/commonlib/coreboot_tables.h')
-rw-r--r--src/commonlib/include/commonlib/coreboot_tables.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/commonlib/include/commonlib/coreboot_tables.h b/src/commonlib/include/commonlib/coreboot_tables.h
index ab8da7bf8e..91da8e01fa 100644
--- a/src/commonlib/include/commonlib/coreboot_tables.h
+++ b/src/commonlib/include/commonlib/coreboot_tables.h
@@ -426,7 +426,17 @@ struct lb_mmc_info {
* USB Type-C Port Information
* This record contains board-specific type-c port information.
* There will be one record per type-C port.
+ * Orientation fields should be of type enum type_c_orientation.
*/
+enum type_c_orientation {
+ /* The orientation of the signal follows the orientation of the CC lines. */
+ TYPEC_ORIENTATION_NONE,
+ /* The orientation of the signal is fixed to follow CC1 */
+ TYPEC_ORIENTATION_NORMAL,
+ /* The orientation of the signal is fixed to follow CC2 */
+ TYPEC_ORIENTATION_REVERSE,
+};
+
struct type_c_port_info {
uint8_t usb2_port_number;
uint8_t usb3_port_number;