You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
10 years ago
..
4xx_ibm_ddr2_autocalib.c
ppc4xx: Remove 4xx NAND booting support
11 years ago
4xx_pci.c
Coding Style cleanup: replace leading SPACEs by TABs
12 years ago
4xx_pcie.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
4xx_uart.c
SPDX: fix IBM-pibs license identifier
12 years ago
40x_spd_sdram.c
Coding Style cleanup: remove trailing white space
12 years ago
44x_spd_ddr.c
Coding Style cleanup: remove trailing white space
12 years ago
44x_spd_ddr2.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
Kconfig
kconfig: add CONFIG_SUPPORT_SPL
11 years ago
Makefile
ppc4xx: Remove 4xx NAND booting support
11 years ago
bedbug_405.c
Make sure that argv[] argument pointers are not modified.
15 years ago
cache.S
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
cmd_chip_config.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
12 years ago
cmd_ecctest.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
config.mk
powerpc: remove redundant CPU definition
11 years ago
cpu.c
powerpc: ppc4xx: remove board support for bluestone
11 years ago
cpu_init.c
ppc: Fix ppc4xx CONFIG_SYS_GENERIC_BOARD
11 years ago
dcr.S
Remove obsolete _LINUX_CONFIG_H macro
11 years ago
denali_data_eye.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
denali_spd_ddr2.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
12 years ago
ecc.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
ecc.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
fdt.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
gpio.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
interrupts.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
kgdb.S
Remove obsolete _LINUX_CONFIG_H macro
11 years ago
miiphy.c
SPDX: fix IBM-pibs license identifier
12 years ago
reginfo.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
resetvec.S
…
sdram.c
Coding Style cleanup: remove trailing white space
12 years ago
sdram.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
speed.c
powerpc: ppc4xx: remove board support for bluestone
11 years ago
spl_boot.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
start.S
powerpc: ppc4xx: remove board support for bluestone
11 years ago
tlb.c
Coding Style cleanup: remove trailing white space
12 years ago
traps.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
u-boot-spl.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
u-boot.lds
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
uic.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
usb.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
usb_ohci.c
include: move various macros to include/linux/kernel.h
10 years ago
usb_ohci.h
…
xilinx_irq.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago