summaryrefslogtreecommitdiff
path: root/src/host/ohci
diff options
context:
space:
mode:
authorJeremiah McCarthy <[email protected]>2021-02-18 13:26:03 -0500
committerJeremiah McCarthy <[email protected]>2021-02-18 13:26:03 -0500
commit21f1cd4ec7e2104ac88b26be5c06e81e385cd660 (patch)
tree10c591bf4ed1ff9260463fcb4da260f9b9b2ae2b /src/host/ohci
parentf8fbc0930bd17b263ca702c0beb9f83af4429d0a (diff)
Implement requested PR changes
Removes CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT, and makes the manual padding behavior standard. Replaced unused variable name with TU_RESERVED.
Diffstat (limited to 'src/host/ohci')
-rw-r--r--src/host/ohci/ohci.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/host/ohci/ohci.h b/src/host/ohci/ohci.h
index 76d6fff61..2915f8b00 100644
--- a/src/host/ohci/ohci.h
+++ b/src/host/ohci/ohci.h
@@ -208,11 +208,7 @@ typedef volatile struct
uint32_t interrupt_routing : 1;
uint32_t remote_wakeup_connected : 1;
uint32_t remote_wakeup_enale : 1;
-#if CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT
- uint32_t unused : 21;
-#else
- uint32_t : 0;
-#endif /* CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT */
+ uint32_t TU_RESERVED : 21;
}control_bit;
};
@@ -280,11 +276,7 @@ typedef volatile struct
uint32_t port_suspend_status_change : 1;
uint32_t port_over_current_indicator_change : 1;
uint32_t port_reset_status_change : 1;
-#if CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT
- uint32_t unused : 11;
-#else
- uint32_t : 0;
-#endif /* CFG_TUSB_ALT_BIT_PACKING_ALIGNMENT */
+ uint32_t TU_RESERVED : 11;
}rhport_status_bit[2];
};
}ohci_registers_t;