summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-11-22 08:08:12 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-11-22 08:08:12 -0500
commit3d07ec46eed738e6dac6109598766f6568ac4669 (patch)
tree39c87d691c32110396de65c28dd8ecd0408a8c86 /firmware/export
parent5bd9ed801f4ef684e148222710e042c113e48e58 (diff)
downloadrockbox-3d07ec46eed738e6dac6109598766f6568ac4669.tar.gz
rockbox-3d07ec46eed738e6dac6109598766f6568ac4669.zip
jz47x0: Minor code quality improvements in the jz47xx USB drivers
* Replace magic nubmers with #defined constant * Tweak some logf messages No functional changes! Change-Id: I6a5e4c371a471197a8edbb853967e461621d73f8
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/jz4760b.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/export/jz4760b.h b/firmware/export/jz4760b.h
index 589f67800a..af1f36270b 100644
--- a/firmware/export/jz4760b.h
+++ b/firmware/export/jz4760b.h
@@ -7017,6 +7017,11 @@ do { \
#define USB_INTR_SUSPEND 0x01
#define USB_INTR_RESUME 0x02
#define USB_INTR_RESET 0x04
+#define USB_INTR_SOF 0x08
+#define USB_INTR_CONNECT 0x10
+#define USB_INTR_DISCONNECT 0x20
+#define USB_INTR_SESS_REQ 0x40
+#define USB_INTR_VBUS_ERR 0x80
#define USB_INTR_EP(n) (1 << (n))