From: Mike Frysinger Date: Thu, 1 Jan 2009 18:23:46 -0500 Subject: [U-Boot] [PATCH] usb.h: use standard __LITTLE_ENDIAN from Linux headers In-Reply-To: <3efb10970901010222o848504fs8e80ce8e9037a04c@mail.gmail.com> References: <1230796856-19298-1-git-send-email-vapier@gentoo.org> <3efb10970901010222o848504fs8e80ce8e9037a04c@mail.gmail.com> Message-ID: <200901011823.47129.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 01 January 2009 05:22:46 Remy Bohmer wrote: > 2009/1/1 Mike Frysinger : > > Rather than forcing people to define a custom "LITTLEENDIAN", just use > > the __LITTLE_ENDIAN one from the Linux byteorder headers that every arch > > is already setting up. > > common/usb_storage.c | 2 -- > > include/usb.h | 4 ++-- > > 2 files changed, 2 insertions(+), 4 deletions(-) > > > > diff --git a/common/usb_storage.c b/common/usb_storage.c > > index 94f659f..bb468aa 100644 > > --- a/common/usb_storage.c > > +++ b/common/usb_storage.c > > @@ -45,8 +45,6 @@ > > * New Note: > > * Support for USB Mass Storage Devices (BBB) has been added. It has > > * only been tested with USB memory sticks. > > - * Nota bene: if you are using the BBB support with a little-endian > > - * CPU then you MUST define LITTLEENDIAN in the configuration file! > > */ > > There are a few more C-files (*usb_ohci.c) that has this comment, > please remove them all. > Also clean up the config files that has this flag set. This flag seem > to be set only for this reason. i was avoiding touching non-common code as i dont have the hardware to test. but easy enough to change. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20090101/8a077fae/attachment.pgp