aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2016-11-04 16:31:19 +0100
committerFelix Fietkau <nbd@nbd.name>2016-11-05 10:18:27 +0100
commit347884b3455505146d0ff0dd6446d9e17686a50b (patch)
tree8e544199877545be0e90e742860ce39e097d8d2a /target/linux
parentfb504e8799dbba6717116f1d12115af82995273c (diff)
downloadupstream-347884b3455505146d0ff0dd6446d9e17686a50b.tar.gz
upstream-347884b3455505146d0ff0dd6446d9e17686a50b.tar.bz2
upstream-347884b3455505146d0ff0dd6446d9e17686a50b.zip
cns3xxx: fix UART resource overlap
Port 1 registers the same IO resources as port 2 in the kernel resource tree, which is wrong. Fix this by using it's own resources as indicated in the overview (cns3xxx.h). Compiled & Tested on several GW2388-4 laguna boards which utilizes all 3 ports. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
index 5df69f3c4a..4a596125ab 100644
--- a/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
+++ b/target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c
@@ -374,8 +374,8 @@ static struct resource laguna_uart_resources[] = {
.end = CNS3XXX_UART0_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM
},{
- .start = CNS3XXX_UART2_BASE,
- .end = CNS3XXX_UART2_BASE + SZ_4K - 1,
+ .start = CNS3XXX_UART1_BASE,
+ .end = CNS3XXX_UART1_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM
},{
.start = CNS3XXX_UART2_BASE,