u-boot/include
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
..
andestech
asm-generic ppc: Zap Hymod board 2014-10-27 14:35:55 +01:00
bedbug
configs ARM: remove CONFIG_ARM1136 defines 2014-11-20 11:28:25 -05:00
cramfs
dm dm: serial: use Driver Model for UniPhier serial driver 2014-10-23 21:43:09 -06:00
dt-bindings Merge branch 'master' of git://git.denx.de/u-boot-socfpga 2014-11-11 16:59:44 -05:00
faraday
galileo
jffs2
linux linux/kernel.h: sync min, max, min3, max3 macros with Linux 2014-11-23 06:48:30 -05:00
lzma
mtd kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
pcmcia
power
samsung samsung: board: enable support of multiple board types 2014-09-05 13:58:50 +09:00
synopsys
u-boot
usb usb: s3c-otg: Allow custom gusbcfg 2014-11-07 16:32:02 +01:00
zfs
.gitignore
74xx_7xx.h
_exports.h
aboot.h implement the Android sparse image format 2014-09-16 12:23:57 -04:00
ACEX1K.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h arm: socfpga: fpga: Add SoCFPGA FPGA programming interface 2014-10-06 17:46:50 +02:00
ambapp.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h sun6i: Add basic axp221 driver 2014-11-13 14:49:01 +01:00
bcd.h
bitfield.h
bmp_layout.h
bootcount.h
bootm.h bootm: add prototype for arch_preboot_os 2014-10-25 15:27:36 -04:00
bootretry.h
bootstage.h x86: Support loading kernel setup from a FIT 2014-10-22 09:03:06 -06:00
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h cli: hush: Adjust 'run' command to run each line of the env var 2014-10-27 11:03:33 -04:00
clk.h
cmd_spl.h
command.h cli: hush: Adjust 'run' command to run each line of the env var 2014-10-27 11:03:33 -04:00
common.h linux/kernel.h: add typechecking to roundup macro 2014-11-20 11:28:25 -05:00
common_timing_params.h
commproc.h ppc: Zap MHPC board 2014-10-27 14:35:55 +01:00
compiler.h Provide option to avoid defining a custom version of uintptr_t. 2014-10-27 11:04:01 -04:00
config_cmd_all.h
config_cmd_default.h
config_defaults.h
config_distro_bootcmd.h config_distro_bootcmd: Run 'scsi scan' before trying scsi disks 2014-09-24 18:30:28 -04:00
config_distro_defaults.h Correct single misspelling of "consitant" in source tree. 2014-10-27 17:54:11 -04:00
config_fallbacks.h kconfig: move CONFIG_SYS_HZ to lib/Kconfig 2014-10-23 13:18:59 -04:00
config_phylib_all_drivers.h
config_uncmd_spl.h
cpsw.h
crc.h
cros_ec.h dm: cros_ec: Add support for driver model 2014-10-22 10:36:53 -06:00
cros_ec_message.h
dataflash.h
ddr_spd.h
dfu.h dfu: Provide means to find difference between dfu-util -e and -R 2014-09-02 14:29:28 +02:00
dialog_pmic.h
div64.h
dm-demo.h
dm.h
dm9000.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwmmc.h mmc: dw_mmc: Fix cache alignment issue 2014-10-06 17:34:40 +02:00
e500.h
ec_commands.h
edid.h
elf.h elf: add prototype for valid_elf_image 2014-10-25 15:27:36 -04:00
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h
exports.h
ext4fs.h
ext_common.h
fat.h
fb_mmc.h usb/gadget: fastboot: add eMMC support for flash command 2014-09-24 18:30:27 -04:00
fdt.h
fdt_support.h fdt_support: add prototypes for __weak functions 2014-10-25 15:27:36 -04:00
fdtdec.h Merge git://git.denx.de/u-boot-x86 2014-10-23 06:54:03 -04:00
fis.h
flash.h mtd: Handle 29LV800BT 2014-11-19 08:48:41 +01:00
fm_eth.h net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
fpga.h
fs.h
fsl_dcu_fb.h video: dcu: Add DCU driver support 2014-09-08 10:30:35 -07:00
fsl_ddr.h driver/ddr: Restruct driver to allow standalone memory space 2014-09-25 08:36:18 -07:00
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h driver/ddr/fsl: Fix tXP and tCKE 2014-09-25 08:36:18 -07:00
fsl_ddrc_version.h
fsl_diu_fb.h
fsl_esdhc.h esdhc: Add CONFIG_SYS_FSL_ESDHC_LE and CONFIG_SYS_FSL_ESDHC_BE macros 2014-09-08 10:30:33 -07:00
fsl_ifc.h
fsl_immap.h
fsl_mc.h
fsl_mdio.h net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
fsl_pmic.h
fsl_sec.h crypto/fsl: Add command for encapsulating/decapsulating blobs 2014-10-16 14:20:40 -07:00
fsl_usb.h
fuse.h
g_dnl.h
gdsys_fpga.h mpc83xx: Add gdsys hrcon board 2014-11-19 08:48:42 +01:00
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h
i2s.h
i8042.h
ide.h ide: add missing prototype 2014-10-25 15:27:37 -04:00
image.h x86: image: Add new image type for x64_64 2014-10-28 20:44:04 -06:00
initcall.h
input.h
inttypes.h Add some standard headers external code might need 2014-10-27 11:04:01 -04:00
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h powerpc: remove orphaned boards mcc200 and prs200 2014-11-12 13:02:22 -05:00
lcdvideo.h
ld9040.h
led-display.h
libata.h
libfdt.h fdt: Add a subnodes iterator macro 2014-10-22 16:56:41 -06:00
libfdt_env.h
libtizen.h
linker_lists.h dm: linker_lists: Add a way to declare multiple objects 2014-10-22 10:36:53 -06:00
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mk48t59.h
mmc.h mmc: add prototype for mmc_get_env_addr 2014-10-25 15:27:37 -04:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc824x.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h spl, nand, atmel_nand: add erase one block function 2014-11-17 08:47:17 -05:00
net.h SPDX License cleanup for LiMon imported files 2014-10-10 09:44:43 -04:00
netdev.h net: mvneta.c: Add support for the ethernet controller of the Marvell Armada XP SoC 2014-10-23 09:59:21 -04:00
nomadik.h
ns16550.h dm: ns16550: Use an address instead of a pointer for the uart base 2014-10-23 19:29:07 -06:00
ns87308.h
onenand_uboot.h
os.h
palmas.h
part.h
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pci.h pci: add support for board_pci_fixup_dev function 2014-09-09 16:15:02 +02:00
pci_gt64120.h
pci_ids.h e1000: add i211 and unprogrammed i210/i211 support 2014-10-28 07:13:56 -04:00
pci_msc01.h
pcmcia.h ppc: Zap ICU862 board 2014-10-27 14:35:55 +01:00
phy.h net: phy.h: Make PHY autonegotiation timeout configurable 2014-10-23 09:59:21 -04:00
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
radeon.h
reiserfs.h
rtc.h
s6e63d6.h
s_record.h
SA-1100.h
sandboxblockdev.h
sandboxfs.h
sata.h sata: dwc_ahsata: implement sata_port_status 2014-09-09 15:32:32 +02:00
scf0403_lcd.h
scsi.h
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h serial: add prototypes for init functions 2014-11-04 15:01:11 -05:00
sh_pfc.h
sh_tmu.h sh: move CONFIG_{SH2, SH2A, SH3, SH4} to Kconfig 2014-11-13 08:47:58 +09:00
sja1000.h
slre.h
sm501.h
sound.h
sparse_defs.h implement the Android sparse image format 2014-09-16 12:23:57 -04:00
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h dm: sandbox: Add a SPI emulation uclass 2014-10-22 10:36:46 -06:00
spi_flash.h dm: sf: Add a uclass for SPI flash 2014-10-22 10:36:50 -06:00
spl.h spl, nand: add option to boot raw u-boot.bin image only 2014-11-17 08:47:17 -05:00
splash.h
status_led.h ppc: Zap ICU862 board 2014-10-27 14:35:55 +01:00
stdio_dev.h stdio: Add force parameter to stdio_deregister 2014-10-06 14:50:43 +02:00
stdlib.h Add some standard headers external code might need 2014-10-27 11:04:01 -04:00
stratixII.h
sx151x.h
sym53c8xx.h
systemace.h microblaze: remove #ident directive to fix build error 2014-09-10 10:26:58 +02:00
tca642x.h
tegra-kbc.h
thor.h
timestamp.h
tis.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h net: tsec: Remove tx snooping support from LS1 2014-09-08 10:30:35 -07:00
tsi108.h
tsi148.h
twl4030.h twl4030: More voltages on VAUX2 and VAUX3 2014-11-05 11:57:04 -05:00
twl6030.h
tws.h
ubi_uboot.h ubi: enable error reporting in initialization 2014-11-19 07:54:40 +01:00
universe.h
usb.h usb: include <asm/cache.h> and <part.h> from include/usb.h 2014-11-07 16:32:02 +01:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
version.h
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsprintf.h
vxworks.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zfs_common.h
zynqpl.h