u-boot/drivers/usb/musb-new
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
..
am35x.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
linux-compat.h lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
Makefile kbuild: use Linux Kernel build scripts 2014-02-19 11:07:50 -05:00
musb_core.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
musb_core.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_debug.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_dma.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_dsps.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
musb_gadget.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
musb_gadget.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_gadget_ep0.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
musb_host.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
musb_host.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_io.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_regs.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_uboot.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
omap2430.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
omap2430.h musb-new: omap2plus backend driver 2012-11-20 00:16:08 +01:00
usb-compat.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00