From: Wolfgang Denk Date: Fri, 04 Sep 2009 21:31:41 +0200 Subject: [U-Boot] [PATCH] atmel_df_pow2: standalone to convert dataflashes to pow2 In-Reply-To: <1248381423-29524-1-git-send-email-vapier@gentoo.org> References: <1248381423-29524-1-git-send-email-vapier@gentoo.org> Message-ID: <20090904193141.72ECC832E8DE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Mike Frysinger, In message <1248381423-29524-1-git-send-email-vapier@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 > --- > 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