Skip to content
Snippets Groups Projects
Commit 5906fade authored by Nobuhiro Iwamatsu's avatar Nobuhiro Iwamatsu Committed by Tom Rini
Browse files

usb: ehci: rmobile: Remove xHCI address


echi-rmobile does not support xHCI. This removes xHCI address
from address table. And this revise a value of CONFIG_USB_MAX_CONTROLLER_COUNT
for lager board and koelsh board.

Signed-off-by: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
parent ed7ce836
No related branches found
No related tags found
No related merge requests found
...@@ -21,19 +21,16 @@ static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = { ...@@ -21,19 +21,16 @@ static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
0xEE080000, /* USB0 (EHCI) */ 0xEE080000, /* USB0 (EHCI) */
0xEE0A0000, /* USB1 */ 0xEE0A0000, /* USB1 */
0xEE0C0000, /* USB2 */ 0xEE0C0000, /* USB2 */
0xEE000000 /* USB3 (USB3.0 Host)*/
}; };
#elif defined(CONFIG_R8A7791) #elif defined(CONFIG_R8A7791)
static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = { static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
0xEE080000, /* USB0 (EHCI) */ 0xEE080000, /* USB0 (EHCI) */
0xEE0C0000, /* USB1 */ 0xEE0C0000, /* USB1 */
0xEE000000 /* USB3 (USB3.0 Host)*/
}; };
#elif defined(CONFIG_R8A7794) #elif defined(CONFIG_R8A7794)
static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = { static u32 usb_base_address[CONFIG_USB_MAX_CONTROLLER_COUNT] = {
0xEE080000, /* USB0 (EHCI) */ 0xEE080000, /* USB0 (EHCI) */
0xEE0C0000, /* USB1 */ 0xEE0C0000, /* USB1 */
/* R8A7794 does not have USB 3.0. */
}; };
#else #else
#error rmobile EHCI USB driver not supported on this platform #error rmobile EHCI USB driver not supported on this platform
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
/* USB */ /* USB */
#define CONFIG_USB_EHCI #define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_RMOBILE #define CONFIG_USB_EHCI_RMOBILE
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#define CONFIG_USB_STORAGE #define CONFIG_USB_STORAGE
#endif /* __KOELSCH_H */ #endif /* __KOELSCH_H */
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
/* USB */ /* USB */
#define CONFIG_USB_EHCI #define CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_RMOBILE #define CONFIG_USB_EHCI_RMOBILE
#define CONFIG_USB_MAX_CONTROLLER_COUNT 4 #define CONFIG_USB_MAX_CONTROLLER_COUNT 3
#define CONFIG_USB_STORAGE #define CONFIG_USB_STORAGE
#endif /* __LAGER_H */ #endif /* __LAGER_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment