u-boot/arch
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
..
arc kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
arm include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
avr32 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
blackfin Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2014-11-10 16:25:28 -05:00
m68k kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
microblaze kconfig: add CONFIG_SUPPORT_SPL 2014-10-27 17:54:10 -04:00
mips include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
nds32 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
nios2 kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
openrisc kconfig: remove redundant "string" type in arch and board Kconfigs 2014-09-13 16:43:55 -04:00
powerpc include: move various macros to include/linux/kernel.h 2014-11-20 11:28:25 -05:00
sandbox sandbox: init cli for -c 2014-11-07 16:27:05 -05:00
sh Merge branch 'master' of git://git.denx.de/u-boot-sh 2014-11-17 08:43:40 -05:00
sparc sparc: merge CONFIG_SYS_CPU and CONFIG_SYS_VENDOR defines 2014-11-04 15:01:38 -05:00
x86 x86: Correct a few progress message nits 2014-10-28 20:44:27 -06:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig kconfig: move CONFIG_USE_PRIVATE_LIBGCC to Kconfig 2014-10-23 13:19:09 -04:00