aboutsummaryrefslogtreecommitdiff
path: root/include/configs/socfpga_common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:32 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commit9d9f59dd0a97b327b784699152f7055adc7b3520 (patch)
tree9aee9b2c762a9c35ed64f85d5180698d581135c0 /include/configs/socfpga_common.h
parent606c377849138e58e42ddcfad5c45a5aa55558a9 (diff)
downloadu-boot-9d9f59dd0a97b327b784699152f7055adc7b3520.zip
u-boot-9d9f59dd0a97b327b784699152f7055adc7b3520.tar.gz
u-boot-9d9f59dd0a97b327b784699152f7055adc7b3520.tar.bz2
Convert CONFIG_SYS_NAND_BAD_BLOCK_POS to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_BAD_BLOCK_POS In order to do this, introduce a choice for HAS_LARGE/SMALL_BADBLOCK_POS as those are the only valid values. Use LARGE as the default as no in-tree boards use SMALL, but it is possible. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/socfpga_common.h')
-rw-r--r--include/configs/socfpga_common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index ed3aac7..187d0bb 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -123,7 +123,6 @@
* NAND Support
*/
#ifdef CONFIG_NAND_DENALI
-#define CONFIG_SYS_NAND_BAD_BLOCK_POS 0
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_SYS_NAND_REGS_BASE SOCFPGA_NANDREGS_ADDRESS