diff mbox

[U-Boot,2/2] arm: socfpga: Zap hardcoded USB address from CV and AV SoCDK

Message ID 1439410770-5749-2-git-send-email-marex@denx.de
State Accepted
Delegated to: Marek Vasut
Headers show

Commit Message

Marek Vasut Aug. 12, 2015, 8:19 p.m. UTC
There is no longer any need to hard-code the USB controller address
into the board config file, since the address and all other config
for the USB controller are now retrieved from device tree.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 include/configs/socfpga_arria5.h   | 3 ---
 include/configs/socfpga_cyclone5.h | 3 ---
 2 files changed, 6 deletions(-)

Comments

Marek Vasut Aug. 12, 2015, 8:33 p.m. UTC | #1
On Wednesday, August 12, 2015 at 10:19:30 PM, Marek Vasut wrote:
> There is no longer any need to hard-code the USB controller address
> into the board config file, since the address and all other config
> for the USB controller are now retrieved from device tree.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Please ignore this particular patch.

Best regards,
Marek Vasut
diff mbox

Patch

diff --git a/include/configs/socfpga_arria5.h b/include/configs/socfpga_arria5.h
index 3193684..88b3086 100644
--- a/include/configs/socfpga_arria5.h
+++ b/include/configs/socfpga_arria5.h
@@ -60,9 +60,6 @@ 
 #endif
 
 /* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_USB_DWC2_REG_ADDR	SOCFPGA_USB1_ADDRESS
-#endif
 #define CONFIG_G_DNL_MANUFACTURER      "Altera"
 
 /* Extra Environment */
diff --git a/include/configs/socfpga_cyclone5.h b/include/configs/socfpga_cyclone5.h
index 9e733e5..9a67f0f 100644
--- a/include/configs/socfpga_cyclone5.h
+++ b/include/configs/socfpga_cyclone5.h
@@ -60,9 +60,6 @@ 
 #endif
 
 /* USB */
-#ifdef CONFIG_CMD_USB
-#define CONFIG_USB_DWC2_REG_ADDR	SOCFPGA_USB1_ADDRESS
-#endif
 #define CONFIG_G_DNL_MANUFACTURER      "Altera"
 
 /* Extra Environment */