u-boot-brain/drivers
Masahiro Yamada cba1da495d include: move various macros to include/linux/kernel.h
U-Boot has imported various utility macros from Linux
scattering them to various places without consistency.

In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN,
container_of, DIV_ROUND_UP, etc.
In include/linux/compat.h are min_t, max_t, round_up, round_down,
etc.
We also have duplicated defines of min_t in some *.c files.

Moreover, we are suffering from too cluttered include/common.h.

This commit moves various macros that originate in
include/linux/kernel.h of Linux to their original position.

Note:
This commit simply moves the macros; the macros roundup,
min, max, min2, max3, ARRAY_SIZE are different
from those of Linux at this point.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
2014-11-20 11:28:25 -05:00
..
bios_emulator kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
block dwc_ahsata: use bitwise operator in sata_port_status 2014-10-28 12:39:59 -04:00
bootcount qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
core dm: add entries to Kconfig 2014-10-23 21:43:09 -06:00
crypto crypto/fsl: Add command for encapsulating/decapsulating blobs 2014-10-16 14:20:40 -07:00
ddr/fsl driver/ddr/fsl: Fix DDR4 driver 2014-09-25 08:36:20 -07:00
demo kbuild: refactor some makefiles 2014-09-24 18:30:29 -04:00
dfu dm: Add spi.h header to a few files 2014-10-22 10:36:47 -06:00
dma dma: keystone_nav: remove spurious qm_cfg verification 2014-11-06 11:04:39 -05:00
fpga arm: socfpga: fpga: Add SoCFPGA FPGA programming interface 2014-10-06 17:46:50 +02:00
gpio dm: sunxi: Modify the GPIO driver to support driver model 2014-11-05 13:09:58 +01:00
hwmon kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
i2c blackfin: convert to use CONFIG_SYS_I2C framework 2014-11-17 08:10:37 +01:00
input tegra: make local functions static 2014-10-25 07:27:37 -04:00
memory ARM: keystone: aemif: move aemif driver to drivers/memory/ti-aemif.c 2014-06-19 17:53:58 -04:00
misc replace DIV_ROUND with DIV_ROUND_CLOSEST 2014-11-20 11:28:25 -05:00
mmc sort drivers/mmc/Makefile 2014-11-07 16:27:04 -05:00
mtd Merge branch 'master' of git://git.denx.de/u-boot-ubi 2014-11-19 23:18:29 -05:00
net net: macb: enable GMAC IP without GE feature support 2014-11-17 08:47:18 -05:00
pci pci: use __weak 2014-10-25 07:01:59 -04:00
pcmcia kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
power sun6i: Add basic axp221 driver 2014-11-13 14:49:01 +01:00
pwm pwm, imx6: add support for pwm modul on imx6 2014-07-23 12:25:42 +02:00
qe net: Merge asm/fsl_enet.h into fsl_mdio.h 2014-09-08 10:30:33 -07:00
rtc arm: marvell: Move arch/kirkwood.h to arch/soc.h 2014-10-23 09:59:20 -04:00
serial Merge branch 'master' of git://git.denx.de/u-boot-sh 2014-11-17 08:43:40 -05:00
soc soc: keystone_serdes: generalize configuration mechanism 2014-10-23 11:27:28 -04:00
sound kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
spi spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common header 2014-11-17 08:47:16 -05:00
tpm kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
video include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
watchdog kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Kconfig kconfig: add blank Kconfig files 2014-09-24 18:30:28 -04:00
Makefile soc: keystone_serdes: create a separate SGMII SerDes driver 2014-10-23 11:27:28 -04:00