From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chin Liang See Date: Mon, 7 Dec 2015 20:47:35 +0800 Subject: [U-Boot] [PATCH 7/7] arm: socfpga: socrates: Probe DWC2 UDC from OF instead of hard-coded data In-Reply-To: <1449348200-18439-7-git-send-email-marex@denx.de> References: <1449348200-18439-1-git-send-email-marex@denx.de> <1449348200-18439-7-git-send-email-marex@denx.de> Message-ID: <1449492455.2213.1.camel@altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Lukasz Majewski > Cc: Lukasz Majewski > --- > arch/arm/dts/socfpga_cyclone5_socrates.dts | 8 ++++++++ > board/ebv/socrates/socfpga.c | 21 +++++++++++++++++++- > - > configs/socfpga_socrates_defconfig | 2 ++ > include/configs/socfpga_socrates.h | 3 --- > 4 files changed, 29 insertions(+), 5 deletions(-) > > Reviewed-by: Chin Liang See Thanks Chin Liang