Dear Remy Bohmer, In message <1297533986-13294-1-git-send-email-li...@bohmer.net> you wrote: > * The sector size for SPI-dataflash (like AT45 flashes) are not always > a power-of-2. So, the sector calculations are rewritten such that it > works for either power-of-2 as any size sectors. > * Make the flash sector size optional in case it is the same value as > the environment size. > > Signed-off-by: Remy Bohmer <li...@bohmer.net> > --- > tools/env/fw_env.c | 72 ++++++++++++++++++++++++++++++---------------- > tools/env/fw_env.config | 10 ++++++- > tools/env/fw_env.h | 2 - > 3 files changed, 56 insertions(+), 28 deletions(-)
Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de He is truly wise who gains wisdom from another's mishap. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot