u-boot/board/freescale
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
..
b4860qds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
bsc9131rdb powerpc/BSC9131RDB: Enable creation of dynamic partitions for NAND 2014-11-14 11:12:14 -08:00
bsc9132qds powerpc/BSC9132QDS: Enable creation of dynamic partition for NAND and NOR 2014-11-14 11:12:14 -08:00
c29xpcie kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
common linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
corenet_ds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
ls1021aqds kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
ls1021atwr kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
ls2085a ARMv8/ls2085a: Enable secondary cores 2014-09-25 08:36:19 -07:00
m547xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m548xevb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5208evbe MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5235evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5249evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5253demo kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5253evbe MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
m5272c3 MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5275evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5282evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m5329evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m5373evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m52277evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m53017evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
m54418twr MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54451evb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
m54455evb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc832xemds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc837xemds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc837xerdb MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc5121ads powerpc: mpc5121ads: update board config info in README 2014-10-27 14:35:55 +01:00
mpc7448hpc2 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8266ads kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8308rdb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8313erdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8315erdb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8323erdb kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8349emds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8349itx MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8360emds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8360erdk MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8536ds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8540ads MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8541cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8544ds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8548cds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8555cds MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8560ads MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mpc8568mds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8569mds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8572ds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
mpc8610hpcd MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
mpc8641hpcn MAINTAINERS: comment out invalid maintainers 2014-09-24 18:30:28 -04:00
mx6qarm2 kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx6qsabreauto imx: mx6q/dlsabreauto: And NAND flash support 2014-11-13 16:23:55 +01:00
mx6sabresd mx6sabresd: Staticize when possible 2014-11-13 18:06:18 +01:00
mx6slevk Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2014-11-05 12:48:09 -05:00
mx6sxsabresd kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx23evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx25pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx28evk mx28evk: README: Revision C is also supported 2014-11-12 09:05:57 +01:00
mx31ads kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx31pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx35pdk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx51evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53ard kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53evk kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
mx53loco mx53loco: Change 'fdt_file' dynamically 2014-11-13 16:22:26 +01:00
mx53smd kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00
p1_p2_rdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p1_p2_rdb_pc MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p1_twr MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p1010rdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p1022ds kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
p1023rdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p2020come kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
p2020ds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
p2041rdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
qemu-ppce500 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
t4qds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
t4rdb powerpc/t4rdb: Add support of CPLD 2014-11-14 11:12:14 -08:00
t104xrdb t104xrdb: Add Errata A_007662, A_008007 workaround in pbi.cfg 2014-11-14 11:12:14 -08:00
t208xqds MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
t208xrdb MAINTAINERS: comment out blank M: field 2014-09-24 18:30:28 -04:00
t1040qds board/t1040qds: Add sgmii ports support in 0xA7 protocol 2014-09-24 13:12:16 -07:00
vf610twr kconfig: arm: introduce symbol for ARM CPUs 2014-10-29 09:02:09 -04:00