From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/4] cfi_flash: A bit of cleanup and code simplification
Date: Tue, 31 Aug 2010 13:33:23 +0200 [thread overview]
Message-ID: <201008311333.23539.sr@denx.de> (raw)
Hi,
following are a few patches with minor code clean-up and simplification for
the cfi_flash driver. Especially the usage of
CONFIG_SYS_MAX_FLASH_BANKS_DETECT to support dynamic flash bank number
detection is reworked a bit. Additionally, now the flash base address list can
be dynamically changed if needed as well.
Here the shortlog:
Stefan Roese (4):
cfi_flash: Simplify flash_get_info()
cfi_flash: Add weak default for cfi_flash_bank_addr()
cfi_flash: Simplify dynamic flash bank number detection
cfi_flash: Remove uneccessary #ifdef CONFIG_SYS_MAX_FLASH_BANKS_DETECT
board/esd/apc405/apc405.c | 6 ++----
board/tqc/tqm834x/tqm834x.c | 12 +++++-------
common/cmd_bootm.c | 1 +
common/cmd_flash.c | 10 ++--------
common/flash.c | 1 +
drivers/mtd/cfi_flash.c | 32 +++++++++++++++-----------------
drivers/mtd/cfi_mtd.c | 10 +---------
include/configs/APC405.h | 6 ------
include/configs/IDS8247.h | 3 +--
include/configs/TQM834x.h | 4 ----
include/flash.h | 2 ++
include/mtd/cfi_flash.h | 18 ++++++++++++++++++
12 files changed, 48 insertions(+), 57 deletions(-)
As you can see, these patches touch non-cfi related files too. If nobody
objects, I'll collect these patches in my cfi-flash repository for the next
merge window.
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
next reply other threads:[~2010-08-31 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 11:33 Stefan Roese [this message]
2010-09-16 14:18 ` [U-Boot] [PATCH 0/4] cfi_flash: A bit of cleanup and code simplification Stefan Roese
2010-09-16 14:21 ` Rogan Dawes
2010-09-16 15:10 ` Stefan Roese
2010-09-16 15:12 ` Rogan Dawes
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=201008311333.23539.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.