diff options
| author | Tom Rini <trini@konsulko.com> | 2021-09-22 14:50:30 -0400 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:16:23 -0400 | 
| commit | 8db73ec10630631e0b97ed900c8d00046883e374 (patch) | |
| tree | b46e1565861fbfabb645b8383ac19250d2768b0e /include | |
| parent | a0de075392fef8eb2d653a1fb54e7eb644b5353a (diff) | |
Convert CONFIG_SYS_NAND_PAGE_COUNT to Kconfig
This converts the following to Kconfig:
   CONFIG_SYS_NAND_PAGE_COUNT
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include')
35 files changed, 0 insertions, 52 deletions
| diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 31b149ee579..c6ef96ec1c8 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -181,8 +181,6 @@  #ifdef CONFIG_MTD_RAW_NAND  /* NAND: device related configs */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \ diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 1af81ae53cc..903543c678d 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -108,8 +108,6 @@  #ifdef CONFIG_MTD_RAW_NAND  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT      (CONFIG_SYS_NAND_BLOCK_SIZE / \ -					CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_ECCPOS  {   2,   3,   4,   5,   6,   7,   8,   9, \  			 10,  11,  12,  13,  14,  15,  16,  17,  18,  19, \ diff --git a/include/configs/am335x_igep003x.h b/include/configs/am335x_igep003x.h index f11972f91cc..10a0ed6a3fb 100644 --- a/include/configs/am335x_igep003x.h +++ b/include/configs/am335x_igep003x.h @@ -107,8 +107,6 @@  /* NAND config */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index f5fbafe34d8..4c1b812bfeb 100644 --- a/include/configs/am3517_evm.h +++ b/include/configs/am3517_evm.h @@ -20,7 +20,6 @@  /* Board NAND Info. */  #ifdef CONFIG_MTD_RAW_NAND  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2,  3,  4,  5,  6,  7,  8,  9, 10, \  					 11, 12, 13, 14, 16, 17, 18, 19, 20, \ diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index dec2478e8de..5c3070daadf 100644 --- a/include/configs/am43xx_evm.h +++ b/include/configs/am43xx_evm.h @@ -157,8 +157,6 @@  /* NAND support */  #ifdef CONFIG_MTD_RAW_NAND  /* NAND: device related configs */ -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_5_ADDR_CYCLE  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_ONFI_DETECTION diff --git a/include/configs/at91sam9m10g45ek.h b/include/configs/at91sam9m10g45ek.h index fb2d120b7da..d322e816b32 100644 --- a/include/configs/at91sam9m10g45ek.h +++ b/include/configs/at91sam9m10g45ek.h @@ -97,7 +97,6 @@  #define CONFIG_SYS_NAND_U_BOOT_SIZE	0x80000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCSIZE		256  #define CONFIG_SYS_NAND_ECCBYTES	3 diff --git a/include/configs/at91sam9n12ek.h b/include/configs/at91sam9n12ek.h index 8dd84ba9013..6fe1a8353dd 100644 --- a/include/configs/at91sam9n12ek.h +++ b/include/configs/at91sam9n12ek.h @@ -116,7 +116,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #endif diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index ea9ddfd8bd3..dc5265604cc 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -99,7 +99,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #endif diff --git a/include/configs/baltos.h b/include/configs/baltos.h index 501e8d3ba30..31aa110d1ba 100644 --- a/include/configs/baltos.h +++ b/include/configs/baltos.h @@ -210,8 +210,6 @@  #ifdef CONFIG_MTD_RAW_NAND  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h index 5786b37d81c..a9b37abad92 100644 --- a/include/configs/brppt1.h +++ b/include/configs/brppt1.h @@ -147,8 +147,6 @@ NANDTGTS \  /* don't change OMAP_ELM, ECCSCHEME. ROM code only supports this */  #define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_BCH8_CODE_HW  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{2, 3, 4, 5, 6, 7, 8, 9, \  					10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h index 812115261f1..36dad6cf99f 100644 --- a/include/configs/chiliboard.h +++ b/include/configs/chiliboard.h @@ -124,8 +124,6 @@  /* NAND: device related configs */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \ diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h index e5309c848cb..2a0b1ddff63 100644 --- a/include/configs/cm_t335.h +++ b/include/configs/cm_t335.h @@ -86,8 +86,6 @@  /* NAND support */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h index feeb7057ac0..5563beab767 100644 --- a/include/configs/cm_t43.h +++ b/include/configs/cm_t43.h @@ -28,8 +28,6 @@  #define CONFIG_SYS_NAND_ECCSIZE		512  #define CONFIG_SYS_NAND_ECCBYTES	14  #define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_BCH8_CODE_HW -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \  					 18, 19, 20, 21, 22, 23, 24, 25, \ diff --git a/include/configs/corvus.h b/include/configs/corvus.h index fbabfc94b41..b8411c7a72f 100644 --- a/include/configs/corvus.h +++ b/include/configs/corvus.h @@ -99,8 +99,6 @@  #define CONFIG_SYS_NAND_U_BOOT_DST	CONFIG_SYS_TEXT_BASE  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCSIZE		256  #define CONFIG_SYS_NAND_ECCBYTES	3 diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h index 6c3e2df1a94..8d5831d8d2b 100644 --- a/include/configs/da850evm.h +++ b/include/configs/da850evm.h @@ -135,7 +135,6 @@  				39, 40, 41, 42, 43, 44, 45, 46, 47, 48, \  				49, 50, 51, 52, 53, 54, 55, 56, 57, 58, \  				59, 60, 61, 62, 63 } -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0  #define CONFIG_SYS_NAND_ECCSIZE		512  #define CONFIG_SYS_NAND_ECCBYTES	10 diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h index de4c74c6519..c87d9e3dc26 100644 --- a/include/configs/devkit8000.h +++ b/include/configs/devkit8000.h @@ -134,7 +134,6 @@  /* NAND boot config */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0  #define CONFIG_SYS_NAND_ECCPOS		{2, 3, 4, 5, 6, 7, 8, 9,\  						10, 11, 12, 13} diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h index d89239d8252..1c0cb3dd898 100644 --- a/include/configs/dra7xx_evm.h +++ b/include/configs/dra7xx_evm.h @@ -80,8 +80,6 @@  /* NAND support */  #ifdef CONFIG_MTD_RAW_NAND  /* NAND: device related configs */ -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_5_ADDR_CYCLE  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_ONFI_DETECTION diff --git a/include/configs/gardena-smart-gateway-at91sam.h b/include/configs/gardena-smart-gateway-at91sam.h index 676b9dd413a..b721ac45ad3 100644 --- a/include/configs/gardena-smart-gateway-at91sam.h +++ b/include/configs/gardena-smart-gateway-at91sam.h @@ -61,7 +61,6 @@  #define CONFIG_SYS_NAND_U_BOOT_DST	CONFIG_SYS_TEXT_BASE  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #define CONFIG_SPL_PAD_TO		CONFIG_SYS_NAND_U_BOOT_OFFS diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h index c7c6dad5fa7..5a3eb1e33ee 100644 --- a/include/configs/m53menlo.h +++ b/include/configs/m53menlo.h @@ -140,8 +140,6 @@  #define CONFIG_SPL_STACK		0x70004000  #define CONFIG_SYS_NAND_U_BOOT_OFFS	CONFIG_SPL_PAD_TO -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_SIZE		(256 * 1024 * 1024)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0 diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index b6ee6c11a61..d568dcda80f 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -23,7 +23,6 @@  #define CONFIG_SYS_FLASH_BASE		NAND_BASE  #define CONFIG_SYS_MAX_NAND_DEVICE      1  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT      64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS   NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS          {2, 3, 4, 5, 6, 7, 8, 9,\                                           10, 11, 12, 13} diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h index 65b3ae5703f..6e087fbc909 100644 --- a/include/configs/omap3_evm.h +++ b/include/configs/omap3_evm.h @@ -28,7 +28,6 @@  #define CONFIG_SYS_FLASH_BASE		NAND_BASE  #define CONFIG_SYS_MAX_NAND_DEVICE      1  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT      64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS   NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS          {2, 3, 4, 5, 6, 7, 8, 9,\                                           10, 11, 12, 13} diff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h index c14a7ac1315..99d61721d27 100644 --- a/include/configs/omap3_igep00x0.h +++ b/include/configs/omap3_igep00x0.h @@ -76,7 +76,6 @@  /* NAND config */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2,  3,  4,  5,  6,  7,  8,  9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 45200e862ec..b6e67592367 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -19,7 +19,6 @@  #define CONFIG_SYS_MAX_NAND_DEVICE	1	  /* Max number of */  						  /* NAND devices */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, \  					 13, 14, 16, 17, 18, 19, 20, 21, 22, \ diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.h index e292ead9474..f1ca57e7d4a 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -135,7 +135,6 @@  				22, 23, 24, 25, 26, 27, 28, 29, 30, 31, \  				38, 39, 40, 41, 42, 43, 44, 45, 46, 47, \  				54, 55, 56, 57, 58, 59, 60, 61, 62, 63 } -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0  #define CONFIG_SYS_NAND_ECCSIZE		512  #define CONFIG_SYS_NAND_ECCBYTES	10 diff --git a/include/configs/phycore_am335x_r2.h b/include/configs/phycore_am335x_r2.h index a128ace6dee..099c210e413 100644 --- a/include/configs/phycore_am335x_r2.h +++ b/include/configs/phycore_am335x_r2.h @@ -86,8 +86,6 @@  #ifdef CONFIG_MTD_RAW_NAND  /* NAND: device related configs */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \ diff --git a/include/configs/pm9g45.h b/include/configs/pm9g45.h index 50c8f44e3ab..f6fd9a265f9 100644 --- a/include/configs/pm9g45.h +++ b/include/configs/pm9g45.h @@ -87,7 +87,6 @@  #define CONFIG_SYS_NAND_U_BOOT_SIZE	0x80000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCSIZE		256  #define CONFIG_SYS_NAND_ECCBYTES	3 diff --git a/include/configs/sama5d3_xplained.h b/include/configs/sama5d3_xplained.h index 6f8716b31b3..74cfa93cd93 100644 --- a/include/configs/sama5d3_xplained.h +++ b/include/configs/sama5d3_xplained.h @@ -71,7 +71,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  /* Falcon boot support on raw MMC */ diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index 235e6684743..1cada669e07 100644 --- a/include/configs/sama5d3xek.h +++ b/include/configs/sama5d3xek.h @@ -83,7 +83,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #endif diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h index a0a8e6aea2e..185128ebd8e 100644 --- a/include/configs/sama5d4_xplained.h +++ b/include/configs/sama5d4_xplained.h @@ -47,7 +47,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #endif diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h index 11723dfa71e..e9cf542f915 100644 --- a/include/configs/sama5d4ek.h +++ b/include/configs/sama5d4ek.h @@ -47,7 +47,6 @@  #endif  #define CONFIG_SYS_NAND_U_BOOT_OFFS	0x40000  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0x0  #endif diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h index 903919d3a16..aed0ce29f59 100644 --- a/include/configs/siemens-am33x-common.h +++ b/include/configs/siemens-am33x-common.h @@ -74,8 +74,6 @@  #define CONFIG_SYS_NAND_ONFI_DETECTION  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \  					 10, 11, 12, 13, 14, 15, 16, 17, \ diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h index eac6e23f2f1..ad8937cca8b 100644 --- a/include/configs/smartweb.h +++ b/include/configs/smartweb.h @@ -169,8 +169,6 @@  #define CONFIG_SYS_NAND_5_ADDR_CYCLE  #define CONFIG_SYS_NAND_SIZE		(SZ_256M) -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCSIZE		256  #define CONFIG_SYS_NAND_ECCBYTES	3 diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h index c9a0985a247..ade467cdf3d 100644 --- a/include/configs/tam3517-common.h +++ b/include/configs/tam3517-common.h @@ -126,7 +126,6 @@  #define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS	0x80	/* 64KiB */  /* NAND boot config */ -#define CONFIG_SYS_NAND_PAGE_COUNT	64  #define CONFIG_SYS_NAND_5_ADDR_CYCLE  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	0  #define CONFIG_SYS_NAND_ECCPOS		{40, 41, 42, 43, 44, 45, 46, 47,\ diff --git a/include/configs/taurus.h b/include/configs/taurus.h index 349344cbe1a..197458eb391 100644 --- a/include/configs/taurus.h +++ b/include/configs/taurus.h @@ -171,8 +171,6 @@  #define CONFIG_SYS_NAND_5_ADDR_CYCLE  #define CONFIG_SYS_NAND_SIZE		(256 * SZ_1M) -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCSIZE		256  #define CONFIG_SYS_NAND_ECCBYTES	3 diff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h index f039557cd71..4d07a0531c9 100644 --- a/include/configs/ti816x_evm.h +++ b/include/configs/ti816x_evm.h @@ -58,8 +58,6 @@  /* NAND: device related configs */  #define CONFIG_SYS_NAND_5_ADDR_CYCLE -#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \ -					 CONFIG_SYS_NAND_PAGE_SIZE)  /* NAND: driver related configs */  #define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS  #define CONFIG_SYS_NAND_ECCPOS		{ 2, 3, 4, 5, 6, 7, 8, 9, \ | 
