[U-Boot] [PATCH] NAND: rename NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS

Scott Wood scottwood at freescale.com
Fri Jan 16 20:50:16 CET 2009


On Fri, Jan 16, 2009 at 06:55:54PM +0100, Wolfgang Grandegger wrote:
> This patch renames NAND_MAX_CHIPS to CONFIG_SYS_NAND_MAX_CHIPS and
> changes the default from 8 to 1 for the legacy and the new MTD
> NAND layer. This allows to remove all NAND_MAX_CHIPS definitions
> in the board config files because none of the boards use multi
> chip support (NAND_MAX_CHIPS > 1) so far. The bamboo and the DU440
> define
> 
>  #define NAND_MAX_CHIPS          CONFIG_SYS_MAX_NAND_DEVICE
> 
> but that's bogus and did not work anyhow.
> 
> Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>

Applied to u-boot-nand-flash/next

-Scott


More information about the U-Boot mailing list