[PATCH 06/13] serial: samsung: add support for Exynos5420

Chander Kashyap chander.kashyap at linaro.org
Mon Jun 10 05:05:22 EDT 2013


Hi,

On 6 June 2013 17:05, Girish KS <girishks2000 at gmail.com> wrote:
> On Thu, Jun 6, 2013 at 4:31 PM, Chander Kashyap
> <chander.kashyap at linaro.org> wrote:
>> The serial port used in Exynos5420 is similar to the serial ports used
>> in the other Exynos SoC. Hence, extend the serial driver support for
>> Exynos5420.
>>
>> Signed-off-by: Chander Kashyap <chander.kashyap at linaro.org>
>> ---
>>  drivers/tty/serial/samsung.c |    2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
>> index 3cda4ed..841221c 100644
>> --- a/drivers/tty/serial/samsung.c
>> +++ b/drivers/tty/serial/samsung.c
>> @@ -1716,7 +1716,7 @@ static struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = {
>>
>>  #if defined(CONFIG_CPU_EXYNOS4210) || defined(CONFIG_SOC_EXYNOS4212) || \
>>         defined(CONFIG_SOC_EXYNOS4412) || defined(CONFIG_SOC_EXYNOS5250) || \
>> -       defined(CONFIG_SOC_EXYNOS5440)
>> +       defined(CONFIG_SOC_EXYNOS5420) || defined(CONFIG_SOC_EXYNOS5440)
>
> Instead of comparing all CONFIGS of the SOC of exynos series, it can
> be optimized with #if defined(CONFIG_ARCH_EXYNOS)
> Make sure to test on all the boards for functionality.

Yes all belongs to Exynos family. Will change that and test.
>
>>  static struct s3c24xx_serial_drv_data exynos4210_serial_drv_data = {
>>         .info = &(struct s3c24xx_uart_info) {
>>                 .name           = "Samsung Exynos4 UART",
>> --
>> 1.7.9.5
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



--
with warm regards,
Chander Kashyap



More information about the linux-arm-kernel mailing list