[source] ramips: fix the number of uarts for MT7688

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 16 00:55:07 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/f885edef5a3bfcddcfe85732ee65c1d475c4a8f6

commit f885edef5a3bfcddcfe85732ee65c1d475c4a8f6
Author: Furong Xu <xfr at outlook.com>
AuthorDate: Thu Feb 16 11:10:28 2017 +0800

    ramips: fix the number of uarts for MT7688
    
    Same as MT7621 and MT7628, MT7688 allows up to 3 uarts
    
    Signed-off-by: Furong Xu <xfr at outlook.com>
---
 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 2bfd3f8..aad333b 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 9234143..ab29e8e 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



More information about the lede-commits mailing list