u-boot-brain/drivers/serial
Masahiro Yamada b41411954d linux/kernel.h: sync min, max, min3, max3 macros with Linux
U-Boot has never cared about the type when we get max/min of two
values, but Linux Kernel does.  This commit gets min, max, min3, max3
macros synced with the kernel introducing type checks.

Many of references of those macros must be fixed to suppress warnings.
We have two options:
 - Use min, max, min3, max3 only when the arguments have the same type
   (or add casts to the arguments)
 - Use min_t/max_t instead with the appropriate type for the first
   argument

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[trini: Fixup arch/blackfin/lib/string.c]
Signed-off-by: Tom Rini <trini@ti.com>
2014-11-23 06:48:30 -05:00
..
altera_jtag_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
altera_uart.c nios2: divide nios2-io.h into each specific drivers and remove it 2014-08-30 17:48:43 +08:00
arm_dcc.c serial: arm_dcc: Convert to use default_serial_puts 2013-08-19 09:44:28 -04:00
atmel_usart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
atmel_usart.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig serial: uniphier: move CONFIG_UNIPHIER_SERIAL to Kconfig 2014-10-23 21:43:09 -06:00
lpc32xx_hsuart.c serial: lpc32xx: send CR before LF 2013-12-13 09:14:34 -05:00
Makefile dm: sunxi: Add support for serial using driver model 2014-11-05 13:09:58 +01:00
mcfuart.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxs_auart.c serial: mxs_auart: Staticize local functions 2013-11-08 15:25:13 -05:00
ns16550.c dm: serial: ns16550: Add a cast to the I/O operations 2014-10-23 19:45:28 -06:00
opencores_yanu.c serial: move nios2-yanu.h into opencores_yanu driver 2014-08-30 17:48:43 +08:00
sandbox.c sandbox: serial: Support a coloured console 2014-09-10 13:00:00 -06:00
serial_arc.c serial: arc: Convert to use default_serial_puts 2014-02-21 09:50:12 -05:00
serial_bfin.c blackfin: Move blackfin serial driver out of blackfin arch folder. 2013-05-13 16:30:26 +08:00
serial_coreboot.c dm: x86: Convert coreboot serial to use driver model 2014-10-23 19:45:45 -06:00
serial_dw.c dm: sunxi: Add support for serial using driver model 2014-11-05 13:09:58 +01:00
serial_imx.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_ks8695.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_lpuart.c Merge branch 'master' of git://git.denx.de/u-boot-arm 2014-09-17 18:01:04 -04:00
serial_max3100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_mxc.c dm: move platform data headers to include/dm/platform_data 2014-10-23 21:43:07 -06:00
serial_ns16550.c serial: add static directive to local functions 2014-10-23 21:43:08 -06:00
serial_omap.c dm: omap: serial: Add driver model support 2014-10-23 19:29:07 -06:00
serial_pl01x_internal.h dm: serial: Tidy up the pl01x driver 2014-10-22 10:36:57 -06:00
serial_pl01x.c dm: move platform data headers to include/dm/platform_data 2014-10-23 21:43:07 -06:00
serial_pxa.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_s3c24x0.c serial: add static directive to local functions 2014-10-23 21:43:08 -06:00
serial_s5p.c dm: exynos: Move serial to driver model 2014-10-22 10:36:45 -06:00
serial_sa1100.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
serial_sh.c serial: make local functions static 2014-10-25 07:02:02 -04:00
serial_sh.h sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig 2014-11-13 08:47:58 +09:00
serial_tegra.c dm: tegra: Enable driver model for serial 2014-09-10 13:00:02 -06:00
serial_uniphier.c serial: UniPhier: borrow macros from linux/serial_reg.h 2014-11-12 00:14:30 +09:00
serial_xuartlite.c serial: uartlite: Reset RX/TX in init 2014-02-04 16:48:57 +01:00
serial_zynq.c serial: zynq: Fix typo in suffix function name 2014-05-06 13:47:42 +02:00
serial-uclass.c dm: serial: consolidate common code more 2014-10-23 21:43:09 -06:00
serial.c serial: add prototypes for init functions 2014-11-04 15:01:11 -05:00
usbtty.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
usbtty.h omap: clean-up dead configs 2014-08-09 11:17:04 -04:00