Kconfig: Note which chips require software divide operations

Add a new HAVE_SOFTWARE_DIVIDE_REQUIRED that indicates which chips
require software divide.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2025-04-07 12:40:47 -04:00
parent 0fbcc156c5
commit 871637d3f2
4 changed files with 8 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ config ATSAMD_SELECT
select HAVE_STEPPER_OPTIMIZED_BOTH_EDGE
select HAVE_BOOTLOADER_REQUEST
select HAVE_LIMITED_CODE_SIZE if FLASH_SIZE < 0x10000
# Software divide needed to convert rate to baud in spi.c
select HAVE_SOFTWARE_DIVIDE_REQUIRED if MACH_SAMD21
config HAVE_SERCOM
depends on HAVE_GPIO_I2C || HAVE_GPIO_SPI