* [U-Boot-Users] CFI detection of erase regions incorrect on AT49BV162A
@ 2007-03-11 23:51 Kumar Gala
2007-03-15 6:43 ` Tolunay Orkun
0 siblings, 1 reply; 2+ messages in thread
From: Kumar Gala @ 2007-03-11 23:51 UTC (permalink / raw)
To: u-boot
I'm working with an Atmel AT49BV162A and noticed that the CFI code
doesn't properly detection the erase regions for the device.
Its a Bottom boot device and atmel (at least on this device) does
swap the erase region information.
I was wondering what the 'proper' way was to add some sort of fixup
for this device so its regions are detected correctly.
- k
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] CFI detection of erase regions incorrect on AT49BV162A
2007-03-11 23:51 [U-Boot-Users] CFI detection of erase regions incorrect on AT49BV162A Kumar Gala
@ 2007-03-15 6:43 ` Tolunay Orkun
0 siblings, 0 replies; 2+ messages in thread
From: Tolunay Orkun @ 2007-03-15 6:43 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> I'm working with an Atmel AT49BV162A and noticed that the CFI code
> doesn't properly detection the erase regions for the device.
>
> Its a Bottom boot device and atmel (at least on this device) does
> swap the erase region information.
>
> I was wondering what the 'proper' way was to add some sort of fixup
> for this device so its regions are detected correctly.
>
> - k
>
Hi Kumar,
We do geometry reversal for AMD/Spansion style flash devices. Look for
"geometry_reversed" in the code.
The variable is set from CFI table but CFI 1.0 tables do not have the
appropriate information. :(
So, the geometry reversal decision is made as a guess from device id
(which could be wrong in which case you need to override the
geometry_reversed flag based on exact match of manufacturer_id and
device_id.
Let me know how it goes.
Tolunay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-15 6:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-11 23:51 [U-Boot-Users] CFI detection of erase regions incorrect on AT49BV162A Kumar Gala
2007-03-15 6:43 ` Tolunay Orkun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox