Re: [PATCH 4/4] ARM: imx: imx5: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread Stefano Babic
On 20.05.22 10:11, Stefano Babic wrote: On 20.05.22 09:45, Marek Vasut wrote: On 5/20/22 09:30, Stefano Babic wrote: Hi Marek, On 24.04.22 23:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macr

Re: [PATCH 4/4] ARM: imx: imx5: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread Stefano Babic
On 20.05.22 09:45, Marek Vasut wrote: On 5/20/22 09:30, Stefano Babic wrote: Hi Marek, On 24.04.22 23:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switchin

Re: [PATCH 4/4] ARM: imx: imx5: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread Marek Vasut
On 5/20/22 09:30, Stefano Babic wrote: Hi Marek, On 24.04.22 23:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This

Re: [PATCH 4/4] ARM: imx: imx5: Introduce and use UART_BASE_ADDR(n)

2022-05-20 Thread Stefano Babic
Hi Marek, On 24.04.22 23:44, Marek Vasut wrote: Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This is a clean up, no functional change. T

[PATCH 4/4] ARM: imx: imx5: Introduce and use UART_BASE_ADDR(n)

2022-04-24 Thread Marek Vasut
Introduce helper macro UART_BASE_ADDR(n), which returns Nth UART base address. Convert all board configurations to this new macro. This is the first step toward switching CONFIG_MXC_UART_BASE to Kconfig. This is a clean up, no functional change. The new macro contains compile-time test to verify N