u-boot/arch/blackfin/cpu
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
..
.gitignore blackfin: Do not generate unused header bootrom-asm-offsets.h 2013-12-06 16:06:51 +08:00
cache.S linkage.h: move from blackfin to common includes 2012-02-12 15:03:26 -05:00
cpu.c blackfin: convert blackfin board_f and board_r to use generic board init functions 2014-08-07 15:15:14 +08:00
cpu.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gpio.c blackfin: make name_to_gpio be a weak symbol 2014-04-18 10:42:29 -04:00
init.lds.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
init.S Blackfin: add init.elf helper code 2011-07-12 02:17:45 -04:00
initcode.c cppcheck cleanup: fix nullPointer errors 2014-11-07 16:27:07 -05:00
initcode.h blackfin: The logic of the BF609 macro is opposite. 2014-02-07 11:18:06 +08:00
interrupt.S Blackfin: set up simple NMI handlers for anomaly 05000219 2010-07-05 04:18:18 -04:00
interrupts.c Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
jtag-console.c linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
Makefile kbuild: use shorten logs for misc targets 2014-02-25 11:01:29 -05:00
os_log.c blackfin: don't use 'bool' when it causes problems 2013-11-25 10:41:55 -05:00
reset.c blackfin: bf60x: Port blackfin core architecture code to boot on bf60x. 2013-03-04 13:42:06 +08:00
start.S blackfin: convert blackfin board_f and board_r to use generic board init functions 2014-08-07 15:15:14 +08:00
traps.c Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
u-boot.lds blackfin: convert blackfin board_f and board_r to use generic board init functions 2014-08-07 15:15:14 +08:00