aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-06-24 13:04:05 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 13:04:05 +0200
commit58648bec39764f08eb7bde96308373ca0df7cc41 (patch)
tree408518ec644fd9bc936c8fa40126ba68689121b1 /target/linux/ramips/mt7621
parente3c841de2cf752cf85dbf8ca562c6e9fd7ac64b0 (diff)
downloadmaster-187ad058-58648bec39764f08eb7bde96308373ca0df7cc41.tar.gz
master-187ad058-58648bec39764f08eb7bde96308373ca0df7cc41.tar.bz2
master-187ad058-58648bec39764f08eb7bde96308373ca0df7cc41.zip
ramips: fix the number of uarts for each SoC
- Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620. - Allow up to 3 uarts on MT7621 and MT7628. - Remove unneeded SERIAL_8250_RT288X for MT7628. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r--target/linux/ramips/mt7621/config-4.43
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/mt7621/config-4.4 b/target/linux/ramips/mt7621/config-4.4
index 862c8e977e..58568c8114 100644
--- a/target/linux/ramips/mt7621/config-4.4
+++ b/target/linux/ramips/mt7621/config-4.4
@@ -218,7 +218,8 @@ CONFIG_SCHED_HRTICK=y
CONFIG_SCHED_SMT=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set
-CONFIG_SERIAL_8250_NR_UARTS=4
+CONFIG_SERIAL_8250_NR_UARTS=3
+CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SMP=y
CONFIG_SMP_UP=y