diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:22:26 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:24 -0600 |
commit | 7372b5bd318515c0e756a96e1f730a3ff119bd31 (patch) | |
tree | affc02a50ac064bf826d6f09ba0a1915df7e5d6c /snapshot.commit | |
parent | 24ed894fc05618aa38b82dc158e15d712833132b (diff) | |
download | u-boot-imx-7372b5bd318515c0e756a96e1f730a3ff119bd31.zip u-boot-imx-7372b5bd318515c0e756a96e1f730a3ff119bd31.tar.gz u-boot-imx-7372b5bd318515c0e756a96e1f730a3ff119bd31.tar.bz2 |
dm: usb: Refactor EHCI init
Move the bulk of the code in usb_lowlevel_init() into a separate function
which will also be used by driver model. Keep the CONFIG options out of
this function by providing a tweak flag for Faraday. We need to avoid using
CONFIG options in driver model code where possible, since it makes it
impossible to use multiple controllers in that code where they have
different options.
The CONFIG_EHCI_HCD_INIT_AFTER_RESET option is also kept out of the
common init function. With driver model the controller will be able to
perform this extra init itself after registering with the EHCI layer.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'snapshot.commit')
0 files changed, 0 insertions, 0 deletions