Re: [U-Boot-Users] Where does U-Boot's CFI driver check for top/bottom boot?

Early on AMD (now SPANSION), had typo in there data sheet for this MODEL# 3 and 4. Later on they corrected the data sheet. Yes, this field can be used to verify the sector layout to see if it is bottom boot or topboot. Thanks Yogi
----- Original Message ---- From: Timur Tabi timur@freescale.com To: Tolunay Orkun listmember@orkun.us Cc: u-boot-users@lists.sourceforge.net Sent: Monday, November 6, 2006 2:00:12 PM Subject: Re: [U-Boot-Users] Where does U-Boot's CFI driver check for top/bottom boot?
Tolunay Orkun wrote:
I just looked at the datasheet of your flash part as well as datasheet of a couple of intel flash parts as well as the current code. As I suspected for your particular part, it looks like they are using the same values for "Erase Bank Area 1" and "Erase Bank Area 2" irrespective of top boot or bottom boot flash. I think, this is fundamentally wrong and non-compliant with the general CFI standard.
Using the PDF you specified, I see that my chip has a value of 03h for the "Top/Bottom Boot Sector Flag", at offset (P+F)h. That indicates a top-boot, which is correct (smaller sectors at the end of memory).
Why can't we just check this byte if we're on an AMD part, and adjust accordingly?
participants (1)
-
Yogi