summaryrefslogtreecommitdiffstats
path: root/board/genesi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:20 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:23 -0600
commit27f782b6a137b51fe81dc2900d64ea6cbe502663 (patch)
treec3adc193532ada94b3c0956e4614cfb1f0bfba6c /board/genesi
parentc4a3141d55398660a65417fa15c05d2630400af7 (diff)
downloadtalos-obmc-uboot-27f782b6a137b51fe81dc2900d64ea6cbe502663.tar.gz
talos-obmc-uboot-27f782b6a137b51fe81dc2900d64ea6cbe502663.zip
dm: usb: tegra: Store the controller type explicitly
At present the tegra driver uses a separate pointer to know which controller type is in use. This works because only one controller type is used at a time. With driver model we want to make the controller state hermetic in the sense that it is not necessary to look elsewhere to know the controller type. This will permit a controller to implement the EHCI weak functions without reference to global data structures. To achieve this, define an enum for the controller type and store it with the information on each EHCI controller. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/genesi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud