aboutsummaryrefslogtreecommitdiff
path: root/include/configs/M5253DEMO.h
diff options
context:
space:
mode:
authorTom Rini2022-07-23 13:05:00 -0400
committerTom Rini2022-08-04 16:18:47 -0400
commit5d68d2f41df5099f890052756f14f5a810f34312 (patch)
tree2481188e8c651c8da0acb1890fad4a670bb3e1a0 /include/configs/M5253DEMO.h
parent90e9b3d3353300bc65fbd7f400228926ee61b30c (diff)
Convert CONFIG_SYS_FLASH_ERASE_TOUT et al to Kconfig
This converts the following to Kconfig: CONFIG_SYS_FLASH_ERASE_TOUT CONFIG_SYS_FLASH_LOCK_TOUT CONFIG_SYS_FLASH_UNLOCK_TOUT CONFIG_SYS_FLASH_WRITE_TOUT In practice, for two m68k platforms we move to hard-coding with a comment the timeout values, rather than try and make convoluted Kconfig logic. We add options for the write and erase options to the pic32 flash driver, as this driver does make use of them. Everywhere else these are unreferenced values. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/M5253DEMO.h')
-rw-r--r--include/configs/M5253DEMO.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index cac9b24ead8..88c2bbbf25f 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -94,7 +94,6 @@
/* FLASH organization */
#define CONFIG_SYS_FLASH_BASE (CONFIG_SYS_CS0_BASE)
#define CONFIG_SYS_MAX_FLASH_SECT 2048 /* max number of sectors on one chip */
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
#define FLASH_SST6401B 0x200
#define SST_ID_xF6401B 0x236D236D
@@ -110,7 +109,6 @@
#else
# define CONFIG_SYS_SST_SECT 2048
# define CONFIG_SYS_SST_SECTSZ 0x1000
-# define CONFIG_SYS_FLASH_WRITE_TOUT 500
#endif
/* Cache Configuration */