summaryrefslogtreecommitdiff
path: root/include/configs/amcore.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-23 13:05:00 -0400
committerTom Rini <trini@konsulko.com>2022-08-04 16:18:47 -0400
commit5d68d2f41df5099f890052756f14f5a810f34312 (patch)
tree2481188e8c651c8da0acb1890fad4a670bb3e1a0 /include/configs/amcore.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/amcore.h')
-rw-r--r--include/configs/amcore.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/configs/amcore.h b/include/configs/amcore.h
index 3c9267b14ec..89b94b29306 100644
--- a/include/configs/amcore.h
+++ b/include/configs/amcore.h
@@ -37,7 +37,6 @@
#define CONFIG_SYS_SDRAM_SIZE 0x1000000
#define CONFIG_SYS_FLASH_BASE 0xffc00000
#define CONFIG_SYS_MAX_FLASH_SECT 1024
-#define CONFIG_SYS_FLASH_ERASE_TOUT 1000
/* amcore design has flash data bytes wired swapped */
#define CONFIG_SYS_WRITE_SWAPPED_DATA