Hi Patrice,
For this patch, overall I think you can use more generic method like
define the parameter called ip_version in stm32_uart_info structure, and
according to this information to covert base to different register map
as following, then we can get rid of "stm32f4" in stm32_uart_info
From: Patrice Chotard
STM32F4 serial IP is similar to F7 and H7, but registers
are not located at the same offset and some feature are
only supported by F7 and H7 version.
Registers offset must be added for each version and also
some flags indicated the supported
2 matches
Mail list logo