Re: [U-Boot] [PATCH v1 3/6] serial: stm32x7: prepare the ground to STM32F4 support

2017-09-29 Thread Bo Shen
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

[U-Boot] [PATCH v1 3/6] serial: stm32x7: prepare the ground to STM32F4 support

2017-09-27 Thread patrice.chotard
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