diff options
author | Tom Rini <trini@konsulko.com> | 2022-07-23 13:05:04 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-08-04 16:18:47 -0400 |
commit | 1db251bdd5750e89bdb3c0707f51de0029cc0f0e (patch) | |
tree | 0385354c9c40214c490d176becbdf15a246c9aca /include/configs/xtfpga.h | |
parent | 17ead040d402c6e1fe26ac5acc4773146c8a0918 (diff) | |
download | u-boot-1db251bdd5750e89bdb3c0707f51de0029cc0f0e.zip u-boot-1db251bdd5750e89bdb3c0707f51de0029cc0f0e.tar.gz u-boot-1db251bdd5750e89bdb3c0707f51de0029cc0f0e.tar.bz2 |
Convert CONFIG_SYS_MAX_FLASH_SECT to Kconfig
This converts the following to Kconfig:
CONFIG_SYS_MAX_FLASH_SECT
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/xtfpga.h')
-rw-r--r-- | include/configs/xtfpga.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/xtfpga.h b/include/configs/xtfpga.h index 67ba8af..526165c 100644 --- a/include/configs/xtfpga.h +++ b/include/configs/xtfpga.h @@ -180,9 +180,6 @@ # define CONFIG_SYS_FLASH_PARMSECT_SZ 0x8000 /* param size 32KB */ # define CONFIG_SYS_FLASH_BASE IOADDR(0x08000000) #endif -#define CONFIG_SYS_MAX_FLASH_SECT \ - (CONFIG_SYS_FLASH_SECT_SZ/CONFIG_SYS_FLASH_PARMSECT_SZ + \ - CONFIG_SYS_FLASH_SIZE/CONFIG_SYS_FLASH_SECT_SZ - 1) /* * Put environment in top block (64kB) |