[U-Boot] about ## Unknown FLASH on Bank 0

Wolfgang Denk wd at denx.de
Thu Nov 26 23:12:46 CET 2009


Dear Peter Pan,

In message <48abf2c20911252320h15babe52xe059e72d9ec6d580 at mail.gmail.com> you wrote:
> 
> The part of code I given out is in my get_flash_size() function in my
> flash.c.
i
Ah. You're re-inventing the wheel one more time, it seems? Have fun...

> This part of code is used to read out the Manufacture ID and Device ID of my
> nor flash.
> This maybe have no contribution to the source tree, but maybe others that
> having the same problem can get a clue for such problems.

One likely reason for your problem is using plain pointer acesses
while in fact you should be using proper accessor functions instead.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Is the glass half empty, half full, or twice as large as it needs to


More information about the U-Boot mailing list