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

Jean-Christophe PLAGNIOL-VILLARD
2008-04-29T13:02:55Z

On 16:14 Tue 29 Apr , Vasiliy Leoenenko wrote:
>
> Hi Stefan
>
> > Unfortunately this breaks CFI support for "normal" AMD/Spansion FLASH equipped
> > boards. On Sequoia with Spansion GL512 I get this after applying your patch:
> >
> > Please fix this and resubmit. Best would be if you could test it on a board
> > with Spansion CFI FLASH's too.
>
> I investigated the reproted issue and I think I've corrected it. The issue caused by my incorect conversion of cmd value in flash_make_cmd function.
> So we improved the procedure of conversion. I think it will be better to sent two patches:
> The first patch adds support of long commands and fixes conversion issues.
> The second patch adds M18 family command set support.
>
> Patches were tested on Mainstone II board and two flashes:
> M18 portwidth=16 chipwidth=16
> P30 portwidth=32 chipwidth=16
> Also I tested in simulation the conversion algorithms to make sure that it works fine.
> Unforunately I have no abiliy to test my patch on different borads and width Spansion CFI flash.

You could test it on qemu_mips which use an amd cfi flash or with few
modif in qemu an intel falsh

Best Regards,
J.