On Wed, Sep 23, 2015 at 12:36 PM, Fabio Estevam <[email protected]> wrote: > On Wed, Sep 23, 2015 at 12:22 PM, Stephen Warren <[email protected]> > wrote: > >> This feels wrong. The entries in the DFU list must already be >> sector-aligned, so there's no need for the code to round them. If the >> entries are not already aligned, then the aligned erase operations will >> erase other data, which will cause corruption. > > The start address does not need to be sector-aligned. > > In my case the SPL image needs to be placed at 0x400.
Also, just to clarify: in this patch we make sure that the erase operation are always sector-aligned. Only the write operations can be 'shifted' due to the start address passed via dfu_alt_info. _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

