uboot/include/linux
Masahiro Yamada 3b61297024 kbuild: force to define __UBOOT__ in all the C sources
U-Boot has imported various source files from other projects,
mostly Linux.

Something like

  #ifdef __UBOOT__
    [ modification for U-Boot ]
  #else
    [ original code ]
  #endif

is an often used strategy for clarification of adjusted parts,
that is, easier re-sync in future.

Instead of defining __UBOOT__ in each source file,
passing it from the top Makefile would be easier.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
2014-09-16 12:23:56 -04:00
..
byteorder
mtd kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
unaligned
usb lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
apm_bios.h
bch.h
bitops.h
bitrev.h
compat.h lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
compiler-gcc.h
compiler-gcc3.h
compiler-gcc4.h
compiler.h
crc7.h
crc8.h
crc32.h
ctype.h
edd.h
err.h linux include: add ERR_CAST 2014-08-25 17:02:33 -04:00
ethtool.h
fb.h
immap_qe.h qe: move immap_qe.h from arch directory into common directory 2014-07-22 16:25:54 -07:00
input.h
ioctl.h
ioport.h
kbuild.h clang: workaround for generated constants 2014-09-09 13:51:54 +02:00
kconfig.h kconfig: import Kconfig files from Linux 3.16-rc7 2014-07-30 08:47:46 -04:00
linkage.h
linux_string.h
list.h
list_sort.h lib, list_sort: add list_sort from linux 3.14 2014-08-25 17:02:33 -04:00
lzo.h
math64.h
mc146818rtc.h
mdio.h
mii.h
netdevice.h
poison.h
posix_types.h
rbtree.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
rbtree_augmented.h lib, rbtree: resync with Linux-3.14 2014-08-25 17:02:33 -04:00
screen_info.h
sizes.h
stat.h
stddef.h
string.h
stringify.h
time.h
types.h