From 7f704a1776327afb6b095b3292ddb5426e226558 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 1 Mar 2013 11:22:27 +0000 Subject: [PATCH] cns3xxx: backport laguna UART setup crash fix from r33719, r33721 SVN-Revision: 35839 --- target/linux/cns3xxx/patches-3.3/300-laguna_support.patch | 3 ++- target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch index b42606b508..13d029c58b 100644 --- a/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch +++ b/target/linux/cns3xxx/patches-3.3/300-laguna_support.patch @@ -1,6 +1,6 @@ --- /dev/null +++ b/arch/arm/mach-cns3xxx/laguna.c -@@ -0,0 +1,935 @@ +@@ -0,0 +1,936 @@ +/* + * Gateworks Corporation Laguna Platform + * @@ -387,6 +387,7 @@ + .uartclk = 24000000, + .type = PORT_16550A, + }, ++ { } +}; + +static struct platform_device laguna_uart = { diff --git a/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch b/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch index c5de35fe42..220980f515 100644 --- a/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch +++ b/target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch @@ -500,7 +500,7 @@ #include #include "core.h" #include "devices.h" -@@ -759,6 +760,10 @@ static int __init laguna_model_setup(voi +@@ -760,6 +761,10 @@ static int __init laguna_model_setup(voi u8 pcie_bitmap = 0; printk("Running on Gateworks Laguna %s\n", laguna_info.model); -- 2.30.2