mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
NAND: Provide a sane default for NAND_MAX_CHIPS.
This allows the header to be included regardless of whether a board's config file provides NAND-related defininitions. Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
parent
1f1554841a
commit
135f0a7488
1 changed files with 4 additions and 0 deletions
|
@ -385,6 +385,10 @@ struct nand_manufacturers {
|
||||||
extern struct nand_flash_dev nand_flash_ids[];
|
extern struct nand_flash_dev nand_flash_ids[];
|
||||||
extern struct nand_manufacturers nand_manuf_ids[];
|
extern struct nand_manufacturers nand_manuf_ids[];
|
||||||
|
|
||||||
|
#ifndef NAND_MAX_CHIPS
|
||||||
|
#define NAND_MAX_CHIPS 8
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct nand_bbt_descr - bad block table descriptor
|
* struct nand_bbt_descr - bad block table descriptor
|
||||||
* @options: options for this descriptor
|
* @options: options for this descriptor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue