diff options
author | Tom Rini <trini@konsulko.com> | 2021-09-22 14:50:29 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-06 09:16:23 -0400 |
commit | a0de075392fef8eb2d653a1fb54e7eb644b5353a (patch) | |
tree | 3d0ee5134e9d0cd621a790f141148878abe812f3 /include/configs/T102xRDB.h | |
parent | ccdc7cfbdc3c3b35434c41df7f2abdd1d6665714 (diff) | |
download | u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.gz u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.bz2 u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.zip |
Convert CONFIG_SPL_NAND_LOAD et al to Kconfig
This converts the following to Kconfig:
CONFIG_SPL_NAND_LOAD
CONFIG_SYS_NAND_BLOCK_SIZE
CONFIG_SYS_NAND_PAGE_SIZE
CONFIG_SYS_NAND_OOBSIZE
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/T102xRDB.h')
-rw-r--r-- | include/configs/T102xRDB.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h index e4629946dd..20e4334ce6 100644 --- a/include/configs/T102xRDB.h +++ b/include/configs/T102xRDB.h @@ -264,7 +264,6 @@ unsigned long get_board_sys_clk(void); | CSOR_NAND_PGS_4K /* Page Size = 4K */ \ | CSOR_NAND_SPRZ_224 /* Spare size = 224 */ \ | CSOR_NAND_PB(64)) /*Pages Per Block = 64*/ -#define CONFIG_SYS_NAND_BLOCK_SIZE (512 * 1024) #elif defined(CONFIG_TARGET_T1023RDB) #define CONFIG_SYS_NAND_CSOR (CSOR_NAND_ECC_ENC_EN /* ECC on encode */ \ | CSOR_NAND_ECC_DEC_EN /* ECC on decode */ \ @@ -273,7 +272,6 @@ unsigned long get_board_sys_clk(void); | CSOR_NAND_PGS_2K /* Page Size = 2K */ \ | CSOR_NAND_SPRZ_128 /* Spare size = 128 */ \ | CSOR_NAND_PB(64)) /*Pages Per Block = 64*/ -#define CONFIG_SYS_NAND_BLOCK_SIZE (128 * 1024) #endif #define CONFIG_SYS_NAND_ONFI_DETECTION @@ -520,14 +518,6 @@ unsigned long get_board_sys_clk(void); */ #define CONFIG_SYS_FMAN_FW_ADDR (512 * 0x820) #define CONFIG_SYS_QE_FW_ADDR (512 * 0x920) -#elif defined(CONFIG_MTD_RAW_NAND) -#if defined(CONFIG_TARGET_T1024RDB) -#define CONFIG_SYS_FMAN_FW_ADDR (3 * CONFIG_SYS_NAND_BLOCK_SIZE) -#define CONFIG_SYS_QE_FW_ADDR (4 * CONFIG_SYS_NAND_BLOCK_SIZE) -#elif defined(CONFIG_TARGET_T1023RDB) -#define CONFIG_SYS_FMAN_FW_ADDR (11 * CONFIG_SYS_NAND_BLOCK_SIZE) -#define CONFIG_SYS_QE_FW_ADDR (12 * CONFIG_SYS_NAND_BLOCK_SIZE) -#endif #elif defined(CONFIG_SRIO_PCIE_BOOT_SLAVE) /* * Slave has no ucode locally, it can fetch this from remote. When implementing |