]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI
authorMarek Vasut <marex@denx.de>
Wed, 12 Sep 2012 22:02:54 +0000 (00:02 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:53:51 +0000 (11:53 -0700)
commit41651cab97143e3385057279a2633e2812f328ba
tree0d41209b414afe9563bd7a891096a3a97b529fb6
parent425101e115946f29287c51b2ea2c3527978645aa
serial: bfin: Flip the jtag serial console to CONFIG_SERIAL_MULTI

Rework the emulation of serial console via JTAG from simple ad-hoc
implementation of serial port routines to CONFIG_SERIAL_MULTI and
enable CONFIG_SERIAL_MULTI unconditionally for blackfin.

In order for the JTAG serial console to take precedence over all
other serial ports available in system, implement override for
default_serial_console call returning this JTAG serial console.

This brings in a bit of a growth of size, but eventually will allow
us to unconditionally enable CONFIG_SERIAL_MULTI throughout the whole
U-Boot and maintain only one serial subsystem.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Tom Rini <trini@ti.com>
Cc: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/jtag-console.c
common/serial.c
include/configs/bfin_adi_common.h