Hi Hauke, On Mon, 2015-08-24 at 22:27 +0200, Hauke Mehrtens wrote: > On 08/24/2015 10:23 PM, Alexey Brodkin wrote: > > Default value of both SERIAL_8250_NR_UARTS & SERIAL_8250_RUNTIME_UARTS is 4, > > see: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/serial/8250/Kconfig > > > > And some boards rely on that default setting. > > What's worse some boards use 3rd or even 4th UART as its primary > > serial console. > > > > For example Synopsys DesignWare SDP board, see "console=ttyS3,115200n8" > > here: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arc/boot/dts/axs101.dts > > > > So having expected default value allows usage of kernel configs that are > > closer to their upstream versions. > > > > Cc: Jonas Gorski <j...@openwrt.org> > > Cc: Zoltan HERPAI <wigy...@uid0.hu> > > Cc: Hauke Mehrtens <ha...@hauke-m.de> > > Cc: Dirk Neukirchen <dirkneukirc...@web.de> > > Signed-off-by: Alexey Brodkin <abrod...@synopsys.com> > > --- > > Nack. > > Most targets are using 2 uarts. If your target needs more just overwrite > this in your target/linux/<target name>/config-4.1 file like it is done > in target/linux/sunxi/config-4.1 for example.
Ok I'll add those in my board's config. Still just for my understanding I'm wondering what benefit this limitation allows to achieve? -Alexey _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel