aboutsummaryrefslogtreecommitdiff
path: root/include/configs/siemens-am33x-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-03-11 23:07:29 -0500
committerTom Rini <trini@konsulko.com>2022-03-18 12:48:17 -0400
commitae3f467e8422d7408f968c6e041f64f9340c745a (patch)
treea7ffbd27c274bc268e461549fb16703f39f33e09 /include/configs/siemens-am33x-common.h
parent08f1d58affa4a3ec1fb68717be088dd3556fe26a (diff)
downloadu-boot-ae3f467e8422d7408f968c6e041f64f9340c745a.zip
u-boot-ae3f467e8422d7408f968c6e041f64f9340c745a.tar.gz
u-boot-ae3f467e8422d7408f968c6e041f64f9340c745a.tar.bz2
Convert CONFIG_AM335X_USB0 et al to Kconfig
This converts the following to Kconfig: CONFIG_AM335X_USB0 CONFIG_AM335X_USB0_MODE CONFIG_AM335X_USB1 CONFIG_AM335X_USB1_MODE We do this by introducing specific options for static configuration of USB0/USB1 in SPL rather than defining CONFIG_AM335X_USBx_MODE to the enum value being used. Furthermore, with how the code is used now we do not need to have OTG mode exposed as an option here, so remove that. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/siemens-am33x-common.h')
-rw-r--r--include/configs/siemens-am33x-common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index c3a04c2..bfadf4a 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -104,13 +104,6 @@
*/
#ifndef CONFIG_SPL_BUILD
-/*
- * USB configuration
- */
-#define CONFIG_AM335X_USB0
-#define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL
-#define CONFIG_AM335X_USB1
-#define CONFIG_AM335X_USB1_MODE MUSB_HOST
/* USB DRACO ID as default */
#define CONFIG_USBD_HS