[U-Boot-Users] Sector size with CFI driver?

Stefan Roese sr at denx.de
Wed Nov 1 18:02:34 CET 2006


On Wednesday 01 November 2006 17:58, Timur Tabi wrote:
> Timur Tabi wrote:
> > +
> > +#ifdef CONFIG_MPC8349ITX
> > +               for (i = num_erase_regions-1; i >= 0; i--) {    /* top
> > boot */ +#else
> >                  for (i = 0; i < num_erase_regions; i++) {
> > +#endif
> > +
>
> Ok, I put the above change into cfi_flash.c, and now it works!  Can someone
> explain to me why?  Does U-Boot not normally support "top boot" flash?  If
> so, is there a better way of doing this?

Seems like your FLASH doesn't really support the CFI "Device Geometry 
Definition". Both versions (top & bottom boot block) most likely report the 
same layout.

Best regards,
Stefan




More information about the U-Boot mailing list