9
0
Fork 0
barebox/include/usb
Sascha Hauer 51885a7d73 Change byte order detection mechanism to kernel style
The Linux Kernel defines only one of __LITTLE_ENDIAN and
__BIG_ENDIAN. Endianess can then be tested with #ifdef __xx_ENDIAN. Userspace
always defined both __LITTLE_ENDIAN and __BIG_ENDIAN and byteorder can then
be tested with #if __BYTE_ORDER == __xx_ENDIAN.

As we tend to use a lot of Kernel code in barebox we switch to use the kernel
way of determing the byte order.

As this always causes a lot of confusion add a check to include/common.h to
make sure only one of __LITTLE_ENDIAN and __BIG_ENDIAN is defined.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-06-28 13:49:16 +02:00
..
cdc.h Add USB device support 2009-09-25 14:31:26 +02:00
ch9.h documentation updates 2009-12-15 11:32:02 +01:00
composite.h documentation updates 2009-12-15 11:32:02 +01:00
dfu.h Add USB device support 2009-09-25 14:31:26 +02:00
ehci.h ehci: Make has_tt configurable via platform data 2010-08-06 19:17:22 +02:00
fsl_usb2.h Add USB device support 2009-09-25 14:31:26 +02:00
gadget.h documentation updates 2009-12-15 11:32:02 +01:00
twl4030.h usb: add twl4030 phy support 2010-08-06 19:17:36 +02:00
ulpi.h Completely migrate option ISP1504 to ULPI 2012-04-02 09:32:54 +02:00
usb.h Change byte order detection mechanism to kernel style 2012-06-28 13:49:16 +02:00
usb_defs.h Add usb include files missing from USB merge 2009-04-08 12:30:16 +02:00
usbnet.h net: rework the mii support 2010-08-27 14:36:03 +02:00
usbserial.h serial gadget: enable/disable on request 2012-01-04 14:18:46 +01:00