[U-Boot] [PATCH 3/7] arm: socfpga: cyclone5-socdk: Probe DWC2 UDC from OF instead of hard-coded data

Chin Liang See clsee at altera.com
Mon Dec 7 13:43:14 CET 2015


On Sat, 2015-12-05 at 21:43 +0100, Marek Vasut wrote:
> This patch adds the necessary OF alias for the UDC node, which let's
> the code locate the DWC2 UDC base address in OF instead of hard
> -coding
> it into the U-Boot binary. The code is adjusted to use the address
> from
> OF instead of the hard-coded one. Finally, the hard-coded address is
> removed and USB DM support is enabled.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Chin Liang See <clsee at altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Lukasz Majewski <l.majewski at majess.pl>
> Cc: Lukasz Majewski <l.majewski at samsung.com>
> ---
>  arch/arm/dts/socfpga_cyclone5_socdk.dts  |  9 +++++----
>  board/altera/cyclone5-socdk/socfpga.c    | 21 +++++++++++++++++++--
>  configs/socfpga_cyclone5_defconfig       |  2 ++
>  include/configs/socfpga_cyclone5_socdk.h |  3 ---
>  4 files changed, 26 insertions(+), 9 deletions(-)
> 

Acked-by: Chin Liang See <clsee at altera.com>

Thanks
Chin Liang


More information about the U-Boot mailing list