mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
nand/fsl_elbc: Convert to self-init
This driver doesn't yet make use of the added flexibility (not that that should stop anyone from converting...), but it will with the in-progress hack to support 4k-page NAND. Signed-off-by: Scott Wood <scottwood@freescale.com>
This commit is contained in:
@@ -24,6 +24,17 @@
|
||||
#ifndef _NAND_H_
|
||||
#define _NAND_H_
|
||||
|
||||
#include <config.h>
|
||||
|
||||
/*
|
||||
* All boards using a given driver must convert to self-init
|
||||
* at the same time, so do it here. When all drivers are
|
||||
* converted, this will go away.
|
||||
*/
|
||||
#if defined(CONFIG_NAND_FSL_ELBC)
|
||||
#define CONFIG_SYS_NAND_SELF_INIT
|
||||
#endif
|
||||
|
||||
extern void nand_init(void);
|
||||
|
||||
#include <linux/mtd/compat.h>
|
||||
|
Reference in New Issue
Block a user