Wolfgang Denk wrote:

> You  don't  seriously  expect  any  real  help  given  such  a  vague
> description?  It  would be somewhat helpful if you said exactly which
> changes cause the code to work or fail...

I did say that.  Simply making the global variable not static caused it to fail.

Works:

static struct __attribute__ ((__packed__)) eeprom {

Doesn't work:

struct __attribute__ ((__packed__)) eeprom {

Everything else is the same.

-- 
Timur Tabi
Linux kernel developer at Freescale

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to