[U-Boot] [PATCH] atmel_df_pow2: standalone to convert dataflashes to pow2

Wolfgang Denk wd at denx.de
Fri Sep 4 21:31:41 CEST 2009


Dear Mike Frysinger,

In message <1248381423-29524-1-git-send-email-vapier at gentoo.org> you wrote:
> Atmel DataFlashes by default operate with pages that are slightly bigger
> than normal binary sizes (i.e. many are 1056 byte pages rather than 1024
> bytes).  However, they also have a "power of 2" mode where the pages show
> up with the normal binary size.  The latter mode is required in order to
> boot with a Blackfin processor, so many people wish to convert their
> DataFlashes on their development systems to this mode.  This standalone
> application does just that.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  examples/standalone/.gitignore      |    1 +
>  examples/standalone/Makefile        |    4 +
>  examples/standalone/atmel_df_pow2.c |  209 +++++++++++++++++++++++++++++++++++
>  3 files changed, 214 insertions(+), 0 deletions(-)
>  create mode 100644 examples/standalone/atmel_df_pow2.c

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
"It is better for civilization to be going down the drain than to  be
coming up it."                                          - Henry Allen


More information about the U-Boot mailing list