From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cfi_flash: Cleanup flash_print_info()
Date: Wed, 18 Aug 2010 09:28:16 +0200 [thread overview]
Message-ID: <201008180928.16435.sr@denx.de> (raw)
In-Reply-To: <1281696182-19371-1-git-send-email-sr@denx.de>
On Friday 13 August 2010 12:43:02 Stefan Roese wrote:
> This patch does the following:
>
> - Extract code to detect if sector is erased into function
> sector_erased().
> - Because of this, we don't have variable declarations inside the
> sector loop in flash_print_info()
> - Change "return" to "break" in the "if (ctrlc()) statement:
> This fixes a problem with the resulting output. Before this
> patch the output was:
>
> Sector Start Addresses:
> FC000000 FC020000 FC040000 =>
>
> With this patch it is now:
>
> Sector Start Addresses:
> FC000000 FC020000 FC040000
> =>
Applied to u-boot-cfi-flash/master. Thanks.
Cheers,
Stefan
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de
prev parent reply other threads:[~2010-08-18 7:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-13 10:43 [U-Boot] [PATCH] cfi_flash: Cleanup flash_print_info() Stefan Roese
2010-08-18 7:28 ` Stefan Roese [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201008180928.16435.sr@denx.de \
--to=sr@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.