[U-Boot] [PATCH] spi flash: fix crash due to spi flash miscommunication

2009-01-01 Thread Mike Frysinger
From: Brad Bozarth Higher spi flash layers expect to be given back a pointer that was malloced so that it can free the result, but the lower layers return a pointer that is in the middle of the malloced memory. Reorder the members of the lower spi structures so that things work out. Signed-off-

[U-Boot] [PATCH] fat: fix unaligned errors

2009-01-01 Thread Mike Frysinger
From: Bryan Wu A couple of buffers in the fat code are declared as an array of bytes. But it is then cast up to a structure with 16bit and 32bit members. Since GCC assumes structure alignment here, we have to force the buffers to be aligned according to the structure usage. Signed-off-by: Brya

[U-Boot] [PATCH] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Mike Frysinger
From: Bryan Wu The SanDisk Corporation U3 Cruzer Micro 1/4GB Flash Drive 16244373FFB4 does not like to be reset, so check for it. Signed-off-by: Bryan Wu Signed-off-by: Mike Frysinger --- common/usb_storage.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/c

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Mike Frysinger
On Thursday 01 January 2009 08:53:05 Wolfgang Denk wrote: > In message <200901010410.30775.vap...@gentoo.org> you wrote: > > > > + /* SanDisk Corporation U3 Cruzer Micro 1/4GB > > > > +* Flash Drive 16244373FFB4 > > > > +*/ > > > > > > Please fix the multiline

[U-Boot] [PATCH v2] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-01 Thread 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. Signed-off-by: Mike Frysinger --- v1 - convert more usb LITTLEENDIAN users common/usb_storage.c|2 -- cp

Re: [U-Boot] [PATCH] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-01 Thread Mike Frysinger
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 --

Re: [U-Boot] [PATCH] Add AMD 29LV160DB FLASH support to SBC-2410A board.

2009-01-01 Thread Wolfgang Denk
Dear Daniel, In message <7909dbcf0812310223i53d16c52s208f2c704a4f6...@mail.gmail.com> you wrote: > > I'm not sure if this is the proper way to submit a patch - please feel > free to let me know what needs to be changed, if anything. It is the proper way, but there are some problems with your pa

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200901010410.30775.vap...@gentoo.org> you wrote: > > > > + /* SanDisk Corporation U3 Cruzer Micro 1/4GB > > > + * Flash Drive 16244373FFB4 > > > + */ > > > > Please fix the multiline comment style as described in the > > CodingStyle document (subs

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Remy Bohmer
Hello Mike, >> > + /* SanDisk Corporation U3 Cruzer Micro 1/4GB >> > +* Flash Drive 16244373FFB4 >> > +*/ To end an endless discussion: If you make it like this, everybody should be happy... /* * SanDisk Corporation U3 Cruzer Micro 1/4GB * Flash Drive 16244373FFB4

Re: [U-Boot] [PATCH] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-01 Thread Remy Bohmer
Hello Mike, 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 change

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Mike Frysinger
On Thursday 01 January 2009 04:01:44 Wolfgang Denk wrote: > In message <1230796346-17768-1-git-send-email-vap...@gentoo.org> you wrote: > > + /* SanDisk Corporation U3 Cruzer Micro 1/4GB > > +* Flash Drive 16244373FFB4 > > +*/ > > Please fix the multiline comment style as

Re: [U-Boot] [PATCH v2] usb_storage: do not reset SanDisk Corporation U3 Cruzer Micro USB thumb drive

2009-01-01 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1230796346-17768-1-git-send-email-vap...@gentoo.org> you wrote: > > + /* SanDisk Corporation U3 Cruzer Micro 1/4GB > + * Flash Drive 16244373FFB4 > + */ Please fix the multiline comment style as described in the CodingStyle document (

[U-Boot] [PATCH] usb.h: use standard __LITTLE_ENDIAN from Linux headers

2009-01-01 Thread 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. Signed-off-by: Mike Frysinger --- common/usb_storage.c |2 -- include/usb.h|4 ++-- 2 files changed, 2 insertions