From 89c90cadf371cafe06ce99b80c0334043fabf5cd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 10 Jan 2023 11:19:41 -0500 Subject: 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 --- drivers/mtd/nand/raw/fsl_ifc_nand.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/mtd/nand/raw/fsl_ifc_nand.c') diff --git a/drivers/mtd/nand/raw/fsl_ifc_nand.c b/drivers/mtd/nand/raw/fsl_ifc_nand.c index 18abd75441..1d7c1fddd3 100644 --- a/drivers/mtd/nand/raw/fsl_ifc_nand.c +++ b/drivers/mtd/nand/raw/fsl_ifc_nand.c @@ -20,10 +20,6 @@ #include #include -#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 */ -- cgit v1.2.3