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

Chin Liang See clsee at altera.com
Mon Dec 7 13:44:56 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_mcvevk.dts |  5 +++++
>  board/denx/mcvevk/socfpga.c              | 21 +++++++++++++++++++--
>  configs/socfpga_mcvevk_defconfig         |  2 ++
>  include/configs/socfpga_mcvevk.h         |  3 ---
>  4 files changed, 26 insertions(+), 5 deletions(-)
> 
> 

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

Thanks
Chin Liang


More information about the U-Boot mailing list