diff options
| author | Patrick Delaunay <[email protected]> | 2022-12-07 09:26:44 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-12-12 16:46:07 -0500 |
| commit | 8b83d54f9e40cdd25b41404ce96066f5e3b4a41f (patch) | |
| tree | a198029feac8f4a2bfb86c077ed9ab4da5901837 /cmd | |
| parent | 72e79f998e79626a551d22c637abf4c5786e8046 (diff) | |
configs: remove support of MTDIDS_DEFAULT/MTDPARTS_DEFAULT
Complete the migration of MTDPARTS_DEFAULT / MTDIDS_DEFAULT in Kconfig;
this patch removes the support of MTDIDS_DEFAULT / MTDPARTS_DEFAULT
in the configuration files (include/configs/*.h).
Signed-off-by: Patrick Delaunay <[email protected]>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mtdparts.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/mtdparts.c b/cmd/mtdparts.c index bab75a262f3..0984158f41e 100644 --- a/cmd/mtdparts.c +++ b/cmd/mtdparts.c @@ -111,20 +111,17 @@ DECLARE_GLOBAL_DATA_PTR; #define MTD_WRITEABLE_CMD 1 /* default values for mtdids and mtdparts variables */ -#if !defined(MTDIDS_DEFAULT) #ifdef CONFIG_MTDIDS_DEFAULT #define MTDIDS_DEFAULT CONFIG_MTDIDS_DEFAULT #else #define MTDIDS_DEFAULT NULL #endif -#endif -#if !defined(MTDPARTS_DEFAULT) #ifdef CONFIG_MTDPARTS_DEFAULT #define MTDPARTS_DEFAULT CONFIG_MTDPARTS_DEFAULT #else #define MTDPARTS_DEFAULT NULL #endif -#endif + #if defined(CONFIG_SYS_MTDPARTS_RUNTIME) extern void board_mtdparts_default(const char **mtdids, const char **mtdparts); #endif |
