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

Marek Vasut marex at denx.de
Wed Aug 12 22:19:30 CEST 2015


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 at denx.de>
---
 include/configs/socfpga_arria5.h   | 3 ---
 include/configs/socfpga_cyclone5.h | 3 ---
 2 files changed, 6 deletions(-)

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 */
-- 
2.1.4



More information about the U-Boot mailing list