From eea1d148f3c653b23e96a2f842c3760b4cbbaa51 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Mon, 29 Feb 2016 15:26:05 -0700
Subject: [PATCH] Drop CONFIG_CRAMFS_CMDLINE

This option doesn't do anything. Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Suggested-by: Bin Meng <bmeng.cn@gmail.com>
---
 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 270701b99d..c1034916c6 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 2354009232..c21af1ced6 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 91b29b35ba..5edc8f68a9 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 f73d04087f..b7090c8133 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.39.5