diff options
-rw-r--r-- | include/configs/odroid-g12-common.h | 3 | ||||
-rw-r--r-- | include/configs/odroidc4.h | 6 | ||||
-rw-r--r-- | include/configs/odroidn2.h | 6 |
3 files changed, 12 insertions, 3 deletions
diff --git a/include/configs/odroid-g12-common.h b/include/configs/odroid-g12-common.h index ec234de9a4..b53d390c96 100644 --- a/include/configs/odroid-g12-common.h +++ b/include/configs/odroid-g12-common.h @@ -446,9 +446,6 @@ #define CONFIG_USB_STORAGE 1 #define CONFIG_USB_XHCI 1 #define CONFIG_USB_XHCI_AMLOGIC_V2 1 - /* USB OTG Power Enable */ - #define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6) - #define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6" /* USB Host Hub Reset */ #define CONFIG_USB_HUB_RST_N GPIOEE(GPIOH_4) #define CONFIG_USB_HUB_RST_N_NAME "GPIOH_4" diff --git a/include/configs/odroidc4.h b/include/configs/odroidc4.h index d3cdf4416c..3336abe762 100644 --- a/include/configs/odroidc4.h +++ b/include/configs/odroidc4.h @@ -18,4 +18,10 @@ #include "odroid-g12-common.h" +#if defined(CONFIG_CMD_USB) + /* USB OTG Power Enable */ + #define CONFIG_USB_GPIO_PWR GPIOEE(GPIOAO_2) + #define CONFIG_USB_GPIO_PWR_NAME "GPIOAO_2" +#endif + #endif diff --git a/include/configs/odroidn2.h b/include/configs/odroidn2.h index 56f56fd439..909106decb 100644 --- a/include/configs/odroidn2.h +++ b/include/configs/odroidn2.h @@ -19,4 +19,10 @@ #include "odroid-g12-common.h" +#if defined(CONFIG_CMD_USB) + /* USB OTG Power Enable */ + #define CONFIG_USB_GPIO_PWR GPIOEE(GPIOH_6) + #define CONFIG_USB_GPIO_PWR_NAME "GPIOH_6" +#endif + #endif |