mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
nxp: Finish migration of SYS_FSL_IFC_BANK_COUNT to Kconfig
As this is used on both ARM and PowerPC platforms, this needs to be asked in arch/Kconfig.nxp. Set the PowerPC defaults based on arch/powerpc/include/asm/config_mpc85xx.h and remove the default set in drivers/mtd/nand/raw/fsl_ifc_nand.c Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -20,10 +20,6 @@
|
||||
#include <linux/errno.h>
|
||||
#include <fsl_ifc.h>
|
||||
|
||||
#ifndef CONFIG_SYS_FSL_IFC_BANK_COUNT
|
||||
#define CONFIG_SYS_FSL_IFC_BANK_COUNT 4
|
||||
#endif
|
||||
|
||||
#define MAX_BANKS CONFIG_SYS_FSL_IFC_BANK_COUNT
|
||||
#define ERR_BYTE 0xFF /* Value returned for read bytes
|
||||
when read failed */
|
||||
|
||||
Reference in New Issue
Block a user