[U-Boot] [PATCH] Add support for dataflash to U-boot environment settings tool.
Wolfgang Denk
wd at denx.de
Tue Apr 12 22:38:08 CEST 2011
Dear Remy Bohmer,
In message <1297533986-13294-1-git-send-email-linux at 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 <linux at 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: wd at denx.de
He is truly wise who gains wisdom from another's mishap.
More information about the U-Boot
mailing list