[U-Boot-Users] [PATCH] M18 flash (Sibley) support (attempt 2)

Stefan Roese
2008-04-25T06:35:28Z

Hi Vasily,

On Wednesday 23 April 2008, Vasiliy Leoenenko wrote:
> > Sorry, but I really forgot about this patch. Could you please resend this
> > patch against the current tot, since it doesn't apply cleanly anymore?
>
> I prepared patch for u-boot version 1.3.2. Any comments and suggestions are
> welcome. Code(included below) was verified on Mainstone II board with M18
> flash chip. Please don't forget to include it :)

Unfortunately this breaks CFI support for "normal" AMD/Spansion FLASH equipped
boards. On Sequoia with Spansion GL512 I get this after applying your patch:

U-Boot 1.3.2-01356-g8fa1348 (Apr 24 2008 - 17:05:55)

CPU: AMCC PowerPC 440EPx Rev. A at 528 MHz (PLB=132, OPB=66, EBC=66 MHz)
Security/Kasumi support
Bootstrap Option H - Boot ROM Location I2C (Addr 0x52)
Internal PCI arbiter enabled, PCI async ext clock used
32 kB I-Cache 32 kB D-Cache
Board: Sequoia - AMCC PPC440EPx Evaluation Board, Rev. F, PCI=66 MHz
I2C: ready
DTT: 1 is 29 C
DRAM: 256 MB
FLASH: CFI: Unknown command set 0x0
*** failed ***
### ERROR ### Please RESET the board ###

:-(

Please fix this and resubmit. Best would be if you could test it on a board
with Spansion CFI FLASH's too.

Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================