]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: 16550: Make serial_io/out_shift available to debug mode
authorMarek Vasut <marex@denx.de>
Wed, 25 May 2016 00:13:03 +0000 (02:13 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2016 01:21:41 +0000 (21:21 -0400)
commitfa4ce72316547753451528728491d31e6c7b18f0
tree724896aec68b97a7245d4b77e8dd59c6f96393bf
parent307c0b518979ff77876b880da88c388e4add692d
serial: 16550: Make serial_io/out_shift available to debug mode

The ns16550 driver needs serial_in_shift() and serial_out_shift()
when compiled in debug UART mode, so shift the DM_SERIAL check a
little to make these functions available.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/serial/ns16550.c