diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-07-29 13:51:26 (GMT) |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-07-29 21:04:56 (GMT) |
commit | 57567361769bfa02d0622c06e5e9f66392e2593a (patch) | |
tree | 1714d3f0447e6f9f873243a058e72cca8fc17064 /include | |
parent | a3a3e7b2c35d8bb3c3b6944cb9381d7f66f7875d (diff) | |
download | u-boot-57567361769bfa02d0622c06e5e9f66392e2593a.tar.xz |
powerpc/8xxx: Remove dependency on <usb.h>
We used <usb.h> for USB_MAX_DEVICE. However this requires we actual
build in support for USB into u-boot (which should not be required for
device tree fixup).
At this time no FSL SoC that utilizies this code (83xx/85xx) has more
than 2 USB controllers. So we replace USB_MAX_DEVICE with a local
define FSL_MAX_NUM_USB_CTRLS.
If/when a device shows up with more than 2 controllers we can easily
bump this value or refactor into a proper define per SoC.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions