From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 01 Sep 2010 10:48:15 +0200 Subject: [U-Boot] [PATCH 3/4] cfi_flash: Simplify dynamic flash bank number detection In-Reply-To: <1283254450-11861-1-git-send-email-sr@denx.de> References: <1283254450-11861-1-git-send-email-sr@denx.de> Message-ID: <4C7E134F.3060603@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 Hello Stefan, Stefan Roese wrote: > This patch simplifies the use of CONFIG_SYS_MAX_FLASH_BANKS_DETECT. By > moving these optional variables and defines into the common code, board > specific code is minimized. Currently only the following board use > this feature: > > APC405, IDS8247, TQM834x > > And IDS8247 doesn't seem to really need this feature, since its not > updating the bank number variable at all. So this patch removes the > definition of CONFIG_SYS_MAX_FLASH_BANKS_DETECT from this board port. > > This new framework will be used by the upcoming lwmon5 update as well. > > Signed-off-by: Stefan Roese > Cc: Matthias Fuchs > Cc: Heiko Schocher Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany