aboutsummaryrefslogtreecommitdiff
path: root/include/configs/corenet_ds.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-09-22 14:50:29 -0400
committerTom Rini <trini@konsulko.com>2021-10-06 09:16:23 -0400
commita0de075392fef8eb2d653a1fb54e7eb644b5353a (patch)
tree3d0ee5134e9d0cd621a790f141148878abe812f3 /include/configs/corenet_ds.h
parentccdc7cfbdc3c3b35434c41df7f2abdd1d6665714 (diff)
downloadu-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.zip
u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.gz
u-boot-a0de075392fef8eb2d653a1fb54e7eb644b5353a.tar.bz2
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/corenet_ds.h')
-rw-r--r--include/configs/corenet_ds.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 79fca96..7fd1ad1 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -172,7 +172,6 @@
#define CONFIG_SYS_NAND_BASE_LIST {CONFIG_SYS_NAND_BASE}
#define CONFIG_SYS_MAX_NAND_DEVICE 1
-#define CONFIG_SYS_NAND_BLOCK_SIZE (128 * 1024)
/* NAND flash config */
#define CONFIG_SYS_NAND_BR_PRELIM (BR_PHYS_ADDR(CONFIG_SYS_NAND_BASE_PHYS) \
@@ -382,7 +381,7 @@
*/
#define CONFIG_SYS_FMAN_FW_ADDR (512 * 1680)
#elif defined(CONFIG_MTD_RAW_NAND)
-#define CONFIG_SYS_FMAN_FW_ADDR (8 * CONFIG_SYS_NAND_BLOCK_SIZE)
+#define CONFIG_SYS_FMAN_FW_ADDR (8 * (128 * 1024))
#elif defined(CONFIG_SRIO_PCIE_BOOT_SLAVE)
/*
* Slave has no ucode locally, it can fetch this from remote. When implementing