summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-11-13 01:36:50 +0300
committerTom Rini <trini@konsulko.com>2022-12-06 00:05:38 +0300
commit0cd03259644dcb967fcd6b31c3a92984125a1fe3 (patch)
treeb14f65006e64b8ed2f20a255b3b99c81e9f94ba9 /include
parenta9f03760c1b85cda153723c5dc5d7ad0a64a5acc (diff)
downloadu-boot-0cd03259644dcb967fcd6b31c3a92984125a1fe3.tar.xz
Convert CONFIG_SYS_NAND_SIZE to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_SIZE Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/M5329EVB.h1
-rw-r--r--include/configs/M5373EVB.h1
-rw-r--r--include/configs/m53menlo.h6
-rw-r--r--include/configs/smartweb.h1
-rw-r--r--include/configs/taurus.h1
5 files changed, 0 insertions, 10 deletions
diff --git a/include/configs/M5329EVB.h b/include/configs/M5329EVB.h
index 47ea51c507..a39fe5f28a 100644
--- a/include/configs/M5329EVB.h
+++ b/include/configs/M5329EVB.h
@@ -94,7 +94,6 @@
#ifdef CONFIG_CMD_NAND
# define CONFIG_SYS_NAND_BASE CONFIG_SYS_CS2_BASE
-# define CONFIG_SYS_NAND_SIZE 1
# define CONFIG_SYS_NAND_BASE_LIST { CONFIG_SYS_NAND_BASE }
# define NAND_ALLOW_ERASE_ALL 1
#endif
diff --git a/include/configs/M5373EVB.h b/include/configs/M5373EVB.h
index a2e36cc867..f0734712ea 100644
--- a/include/configs/M5373EVB.h
+++ b/include/configs/M5373EVB.h
@@ -95,7 +95,6 @@
#endif
# define CONFIG_SYS_NAND_BASE CONFIG_SYS_CS2_BASE
-# define CONFIG_SYS_NAND_SIZE 1
# define CONFIG_SYS_NAND_BASE_LIST { CONFIG_SYS_NAND_BASE }
# define NAND_ALLOW_ERASE_ALL 1
diff --git a/include/configs/m53menlo.h b/include/configs/m53menlo.h
index a20b41bdf0..3652241917 100644
--- a/include/configs/m53menlo.h
+++ b/include/configs/m53menlo.h
@@ -86,12 +86,6 @@
/* Watchdog */
/*
- * NAND SPL
- */
-
-#define CONFIG_SYS_NAND_SIZE (256 * 1024 * 1024)
-
-/*
* Extra Environments
*/
#define CONFIG_HOSTNAME "m53menlo"
diff --git a/include/configs/smartweb.h b/include/configs/smartweb.h
index 538aad9a7b..5460c12a17 100644
--- a/include/configs/smartweb.h
+++ b/include/configs/smartweb.h
@@ -96,7 +96,6 @@
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_DST CONFIG_TEXT_BASE
-#define CONFIG_SYS_NAND_SIZE (SZ_256M)
#define CONFIG_SYS_NAND_ECCSIZE 256
#define CONFIG_SYS_NAND_ECCBYTES 3
#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 5ab087da8b..f130c630dd 100644
--- a/include/configs/taurus.h
+++ b/include/configs/taurus.h
@@ -130,7 +130,6 @@
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_TEXT_BASE
#define CONFIG_SYS_NAND_U_BOOT_DST CONFIG_TEXT_BASE
-#define CONFIG_SYS_NAND_SIZE (256 * SZ_1M)
#define CONFIG_SYS_NAND_ECCSIZE 256
#define CONFIG_SYS_NAND_ECCBYTES 3
#define CONFIG_SYS_NAND_ECCPOS { 40, 41, 42, 43, 44, 45, 46, 47, \