From f885edef5a3bfcddcfe85732ee65c1d475c4a8f6 Mon Sep 17 00:00:00 2001 From: Furong Xu Date: Thu, 16 Feb 2017 11:10:28 +0800 Subject: ramips: fix the number of uarts for MT7688 Same as MT7621 and MT7628, MT7688 allows up to 3 uarts Signed-off-by: Furong Xu --- target/linux/ramips/mt7688/config-4.4 | 4 ++-- target/linux/ramips/mt7688/config-4.9 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/target/linux/ramips/mt7688/config-4.4 b/target/linux/ramips/mt7688/config-4.4 index 2bfd3f8f82..aad333bfdb 100644 --- a/target/linux/ramips/mt7688/config-4.4 +++ b/target/linux/ramips/mt7688/config-4.4 @@ -181,8 +181,8 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SCHED_INFO is not set # CONFIG_SCSI_DMA is not set # CONFIG_SERIAL_8250_FSL is not set -CONFIG_SERIAL_8250_NR_UARTS=4 -CONFIG_SERIAL_8250_RUNTIME_UARTS=4 +CONFIG_SERIAL_8250_NR_UARTS=3 +CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SOC_MT7620=y # CONFIG_SOC_MT7621 is not set diff --git a/target/linux/ramips/mt7688/config-4.9 b/target/linux/ramips/mt7688/config-4.9 index 92341439ee..ab29e8e0a5 100644 --- a/target/linux/ramips/mt7688/config-4.9 +++ b/target/linux/ramips/mt7688/config-4.9 @@ -183,8 +183,8 @@ CONFIG_SCHED_HRTICK=y # CONFIG_SCHED_INFO is not set # CONFIG_SCSI_DMA is not set # CONFIG_SERIAL_8250_FSL is not set -CONFIG_SERIAL_8250_NR_UARTS=4 -CONFIG_SERIAL_8250_RUNTIME_UARTS=4 +CONFIG_SERIAL_8250_NR_UARTS=3 +CONFIG_SERIAL_8250_RUNTIME_UARTS=3 CONFIG_SERIAL_OF_PLATFORM=y # CONFIG_SG_POOL is not set CONFIG_SOC_MT7620=y -- cgit v1.2.3