stm32: Don't allow USB on internal clock for stm32f103/stm32f070
Reported by @kaidegit. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
5a94764c38
commit
19a478de37
|
@ -93,7 +93,8 @@ config MACH_STM32F4x5 # F405, F407, F429 series
|
|||
bool
|
||||
config HAVE_STM32_USBFS
|
||||
bool
|
||||
default y if MACH_STM32F103 || MACH_STM32F0x2 || MACH_STM32F070 || MACH_STM32G0
|
||||
default y if MACH_STM32F0x2 || MACH_STM32G0
|
||||
default y if (MACH_STM32F103 || MACH_STM32F070) && !STM32_CLOCK_REF_INTERNAL
|
||||
config HAVE_STM32_USBOTG
|
||||
bool
|
||||
default y if MACH_STM32F2 || MACH_STM32F4 || MACH_STM32H7
|
||||
|
|
Loading…
Reference in New Issue