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>
This commit is contained in:
Álvaro Fernández Rojas 2016-05-29 12:55:12 +02:00
parent 243e79e10c
commit 604b92dbd0
6 changed files with 4 additions and 7 deletions

View file

@ -180,7 +180,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set # CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SOC_MT7620=y CONFIG_SOC_MT7620=y

View file

@ -218,7 +218,8 @@ CONFIG_SCHED_HRTICK=y
CONFIG_SCHED_SMT=y CONFIG_SCHED_SMT=y
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL 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_SERIAL_OF_PLATFORM=y
CONFIG_SMP=y CONFIG_SMP=y
CONFIG_SMP_UP=y CONFIG_SMP_UP=y

View file

@ -177,8 +177,8 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set # CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL 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_RT288X=y CONFIG_SERIAL_8250_RUNTIME_UARTS=3
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
CONFIG_SOC_MT7620=y CONFIG_SOC_MT7620=y
# CONFIG_SOC_MT7621 is not set # CONFIG_SOC_MT7621 is not set

View file

@ -164,7 +164,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set # CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set

View file

@ -166,7 +166,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set # CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set

View file

@ -174,7 +174,6 @@ CONFIG_SCHED_HRTICK=y
# CONFIG_SCHED_INFO is not set # CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set # CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set # CONFIG_SERIAL_8250_FSL is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RT288X=y CONFIG_SERIAL_8250_RT288X=y
CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SERIAL_OF_PLATFORM=y
# CONFIG_SOC_MT7620 is not set # CONFIG_SOC_MT7620 is not set