Convert CONFIG_AM335X_USB0 et al to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 12 Mar 2022 04:07:29 +0000 (23:07 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 16:48:17 +0000 (12:48 -0400)
commitae3f467e8422d7408f968c6e041f64f9340c745a
treea7ffbd27c274bc268e461549fb16703f39f33e09
parent08f1d58affa4a3ec1fb68717be088dd3556fe26a
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>
arch/arm/mach-omap2/am33xx/Kconfig
arch/arm/mach-omap2/am33xx/board.c
configs/am335x_evm_defconfig
configs/am335x_guardian_defconfig
include/configs/am335x_evm.h
include/configs/am335x_guardian.h
include/configs/baltos.h
include/configs/chiliboard.h
include/configs/siemens-am33x-common.h