[PATCH 12] Fix NOR CFI flash driver to work on big endian systems.

Sascha Hauer s.hauer at pengutronix.de
Wed Dec 22 07:48:20 EST 2010


On Wed, Dec 22, 2010 at 02:01:30AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 00:10 Tue 21 Dec     , Krzysztof Halasa wrote:
> > Fix NOR CFI flash driver to work on big endian systems.
> > Basically this transforms the u8/u16/u32/u64 union into
> > a single u64 value.
> > 
> > Not tested on LE platform. Apply with caution.
> I'd like to test it a few this week can we wait a few before applying?

I already applied it. I tested it on little endian and it works. Anyway,
if you find regressions we can still update the patch.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list