]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: Tidy up pipe value decoding
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:23:01 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:29 +0000 (11:11 -0600)
commit7caced5aae9f1e573effa65c799212017b2124b5
tree30c5963beb3e810f6b679cd0817425bdeee84b7c
parent8e2b6619c58cbf3b797d13548fceb5d9d4c34ac3
dm: usb: Tidy up pipe value decoding

Add a few more shifts/masks to make it easier to decode a pipe value (rather
than just building it). We need this for USB device emulation.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
include/usb_defs.h