From fab5c41b8e5e9cd2db03a58919463dcbe5244e20 Mon Sep 17 00:00:00 2001
From: Marek Vasut <marek.vasut+renesas@gmail.com>
Date: Sat, 25 Nov 2017 23:13:37 +0100
Subject: [PATCH] ARM: rmobile: Drop CONFIG_USB_MAX_CONTROLLER_COUNT on Gen3
 boards

The USB support has been switched to DM, so this macro is no
longer meaningful, drop it.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 include/configs/salvator-x.h | 7 -------
 include/configs/ulcb.h       | 7 -------
 2 files changed, 14 deletions(-)

diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h
index 77a12de963..8616b36ecc 100644
--- a/include/configs/salvator-x.h
+++ b/include/configs/salvator-x.h
@@ -59,13 +59,6 @@
 
 #define CONFIG_SYS_I2C_POWERIC_ADDR	0x30
 
-/* USB */
-#ifdef CONFIG_R8A7795
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	3
-#else
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
-#endif
-
 /* SDHI */
 #define CONFIG_SH_SDHI_FREQ		200000000
 
diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h
index e9b64ae6e8..a4795c5ff3 100644
--- a/include/configs/ulcb.h
+++ b/include/configs/ulcb.h
@@ -80,13 +80,6 @@ unsigned char ulcb_softspi_read(void);
 
 #define CONFIG_SYS_I2C_POWERIC_ADDR	0x30
 
-/* USB */
-#ifdef CONFIG_R8A7795
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	3
-#else
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
-#endif
-
 /* SDHI */
 #define CONFIG_SH_SDHI_FREQ		200000000
 
-- 
2.39.5