[U-Boot] [PATCH v2 32/32] Drop CONFIG_CRAMFS_CMDLINE

Simon Glass sjg at chromium.org
Mon Feb 29 23:26:05 CET 2016


This option doesn't do anything. Drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
Suggested-by: Bin Meng <bmeng.cn at gmail.com>
---

Changes in v2: None

 cmd/cramfs.c                        | 5 -----
 include/configs/UCP1020.h           | 1 -
 include/configs/km/keymile-common.h | 1 -
 include/configs/sandbox.h           | 1 -
 4 files changed, 8 deletions(-)

diff --git a/cmd/cramfs.c b/cmd/cramfs.c
index 270701b..c103491 100644
--- a/cmd/cramfs.c
+++ b/cmd/cramfs.c
@@ -29,7 +29,6 @@
 # define DEBUGF(fmt, args...)
 #endif
 
-#ifdef CONFIG_CRAMFS_CMDLINE
 #include <flash.h>
 
 #ifdef CONFIG_SYS_NO_FLASH
@@ -201,7 +200,3 @@ U_BOOT_CMD(
 	"[ directory ]\n"
 	"    - list files in a directory.\n"
 );
-
-#endif /* #ifdef CONFIG_CRAMFS_CMDLINE */
-
-/***************************************************/
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 2354009..c21af1c 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -495,7 +495,6 @@
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_ERRATA
 #define CONFIG_CMD_CRAMFS
-#define CONFIG_CRAMFS_CMDLINE
 
 /*
  * USB
diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 91b29b3..5edc8f6 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -83,7 +83,6 @@
 #define CONFIG_MTD_CONCAT
 
 #define CONFIG_CMD_CRAMFS
-#define CONFIG_CRAMFS_CMDLINE
 
 #ifndef CONFIG_KM_DEF_ENV_BOOTPARAMS
 #define CONFIG_KM_DEF_ENV_BOOTPARAMS \
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index f73d040..b7090c8 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -46,7 +46,6 @@
 #define CONFIG_CMD_EXT4_WRITE
 #define CONFIG_CMD_CBFS
 #define CONFIG_CMD_CRAMFS
-#define CONFIG_CRAMFS_CMDLINE
 #define CONFIG_CMD_PART
 #define CONFIG_DOS_PARTITION
 #define CONFIG_HOST_MAX_DEVICES 4
-- 
2.7.0.rc3.207.g0ac5344



More information about the U-Boot mailing list