u-boot-brain/drivers/serial
Scott Wood 48cbc3a876 serial/ns16550: don't build serial_ns16550 with MIN_FUNCTIONS
CONFIG_NS16550_MIN_FUNCTIONS is used by small SPLs to gain access to basic
ns16550 output code without pulling in things not needed by the SPL.

This previously only worked with non-MULTI configs.  Recently MULTI was
made mandatory, and MIN_FUNCTIONS fails like this:

drivers/serial/libserial.o: In function `calc_divisor.clone.0':
serial_ns16550.c:(.text.calc_divisor.clone.0+0x24): undefined reference to `get_bus_freq'
drivers/serial/libserial.o: In function `_serial_getc':
(.text._serial_getc+0x30): undefined reference to `NS16550_getc'
drivers/serial/libserial.o: In function `_serial_tstc':
(.text._serial_tstc+0x30): undefined reference to `NS16550_tstc'
drivers/serial/libserial.o: In function `_serial_setbrg':
(.text._serial_setbrg+0x3c): undefined reference to `NS16550_reinit'
make[1]: *** [/tmp/u-boot/spl/u-boot-spl] Error 1
make: *** [/tmp/u-boot/spl/u-boot-spl.bin] Error 2

With MIN_FUNCTIONS we don't need anything from this file, so don't build
it.  The conditional needs to be in the file itself rather than the
makefile, because the config symbols are only imported to the makefiles
once, not separately for the SPL phase of the build.

Signed-off-by: Scott Wood <scottwood@freescale.com>
2012-11-26 15:41:20 -06:00
..
altera_jtag_uart.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
altera_uart.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
arm_dcc.c stdio/device: rework function naming convention 2009-07-18 00:27:46 +02:00
atmel_usart.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
atmel_usart.h Coding Style cleanup 2010-10-27 22:48:30 +02:00
lpc32xx_hsuart.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
Makefile stdio: Remove the CLPS7111 serial driver 2012-10-26 22:38:40 +02:00
mcfuart.c ColdFire: uart: fix build failure for missing header files 2012-10-19 23:52:16 +08:00
ns9750_serial.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
ns16550.c serial: ns16550: Call usbtty_poll only in non-SPL build 2012-10-15 11:53:58 -07:00
opencores_yanu.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
s3c64xx.c include/linux/byteorder: import latest endian definitions from linux 2012-11-04 11:00:34 -07:00
sandbox.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial_imx.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_ixp.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_ks8695.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_max3100.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial_mxc.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_ns16550.c serial/ns16550: don't build serial_ns16550 with MIN_FUNCTIONS 2012-11-26 15:41:20 -06:00
serial_pl01x.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_pl01x.h Serial: p1011: new vendor init options 2011-05-12 19:09:07 +02:00
serial_pxa.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial_s3c24x0.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial_s3c44b0.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_s5p.c serial: s5p: Move serial registration from serial_initialize() 2012-10-15 11:53:49 -07:00
serial_sa1100.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_sh.c serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
serial_sh.h serial: sh: Add support Renesas R8A7740 2012-08-08 09:52:06 +09:00
serial_xuartlite.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial_zynq.c serial: Remove CONFIG_SERIAL_MULTI from serial drivers 2012-10-15 11:53:58 -07:00
serial.c arm: Remove support for NETARM 2012-10-26 22:38:00 +02:00
usbtty.c Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00
usbtty.h Enable high speed support for USB device framework and usbtty 2012-03-28 16:31:08 +02:00