Use ofnode_ instead of fdt_ APIs so that the drivers can support live DT. This patch updates usb_get_dr_mode() and usb_get_maximum_speed() to use ofnode as parameter instead of fdt offset. And all the drivers who use these APIs update to use live dt APIs at the same time. Change-Id: I41a3fa52e8fdb99f7fc36b1bc0eb21ae82f90e63 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (am from http://patchwork.ozlabs.org/patch/1248682/) |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cdns3-ti.c | ||
core.c | ||
core.h | ||
debug.h | ||
drd.c | ||
drd.h | ||
ep0.c | ||
gadget-export.h | ||
gadget.c | ||
gadget.h | ||
host-export.h | ||
host.c | ||
trace.c | ||
trace.h |