From dd315b2f724aac834c379fb15e74a160141e6069 Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Mon, 12 Nov 2018 19:46:39 +0530 Subject: [PATCH] ipq807x: Removed unused commands to reduce footprint Change-Id: Idc83e732de310c63e8f8acba281b1bd2bf78828e Signed-off-by: Gokul Sriram Palanisamy --- common/Makefile | 1 - configs/ipq807x_defconfig | 22 ++++++++++++---------- include/configs/ipq807x.h | 6 ------ 3 files changed, 12 insertions(+), 17 deletions(-) diff --git a/common/Makefile b/common/Makefile index 4f6107fe41..c8f28287af 100644 --- a/common/Makefile +++ b/common/Makefile @@ -123,7 +123,6 @@ obj-$(CONFIG_CMD_CRAMFS) += cmd_cramfs.o obj-$(CONFIG_CMD_LDRINFO) += cmd_ldrinfo.o obj-$(CONFIG_CMD_LED) += cmd_led.o obj-$(CONFIG_CMD_LICENSE) += cmd_license.o -obj-y += cmd_load.o obj-$(CONFIG_LOGBUFFER) += cmd_log.o obj-$(CONFIG_ID_EEPROM) += cmd_mac.o obj-$(CONFIG_CMD_MD5SUM) += cmd_md5sum.o diff --git a/configs/ipq807x_defconfig b/configs/ipq807x_defconfig index 15363753cd..0de4a409ea 100644 --- a/configs/ipq807x_defconfig +++ b/configs/ipq807x_defconfig @@ -25,7 +25,7 @@ CONFIG_SYS_PROMPT="IPQ807x# " # Info commands # CONFIG_CMD_BDI=y -CONFIG_CMD_CONSOLE=y +# CONFIG_CMD_CONSOLE is not set # # Boot commands @@ -41,11 +41,11 @@ CONFIG_CMD_GO=y # # Environment commands # -CONFIG_CMD_EXPORTENV=y -CONFIG_CMD_IMPORTENV=y -CONFIG_CMD_EDITENV=y +# CONFIG_CMD_EXPORTENV is not set +# CONFIG_CMD_IMPORTENV is not set +# CONFIG_CMD_EDITENV is not set CONFIG_CMD_SAVEENV=y -CONFIG_CMD_ENV_EXISTS=y +# CONFIG_CMD_ENV_EXISTS is not set # # Memory commands @@ -70,7 +70,7 @@ CONFIG_CMD_FLASH=y # CONFIG_CMD_SPI is not set # CONFIG_CMD_I2C is not set # CONFIG_CMD_USB is not set -CONFIG_CMD_FPGA=y +# CONFIG_CMD_FPGA is not set # # Shell scripting commands @@ -78,7 +78,7 @@ CONFIG_CMD_FPGA=y CONFIG_CMD_ECHO=y CONFIG_CMD_ITEST=y CONFIG_CMD_SOURCE=y -CONFIG_CMD_SETEXPR=y +# CONFIG_CMD_SETEXPR is not set # # Network commands @@ -88,7 +88,7 @@ CONFIG_CMD_NET=y # CONFIG_CMD_TFTPSRV is not set # CONFIG_CMD_RARP is not set # CONFIG_CMD_DHCP is not set -CONFIG_CMD_NFS=y +# CONFIG_CMD_NFS is not set # CONFIG_CMD_PING is not set # CONFIG_CMD_CDP is not set # CONFIG_CMD_SNTP is not set @@ -100,9 +100,11 @@ CONFIG_CMD_NFS=y # # CONFIG_CMD_TIME is not set CONFIG_CMD_MISC=y -CONFIG_CMD_PART=y +# CONFIG_CMD_PART is not set CONFIG_PARTITION_UUIDS=y # CONFIG_CMD_TIMER is not set +# CONFIG_CMD_ELF is not set + # # Boot timing @@ -282,7 +284,7 @@ CONFIG_HAVE_PRIVATE_LIBGCC=y # CONFIG_USE_PRIVATE_LIBGCC is not set CONFIG_SYS_HZ=1000 # CONFIG_SYS_VSNPRINTF is not set -CONFIG_REGEX=y +# CONFIG_REGEX is not set # CONFIG_LIB_RAND is not set # CONFIG_CMD_DHRYSTONE is not set # CONFIG_RSA is not set diff --git a/include/configs/ipq807x.h b/include/configs/ipq807x.h index 02b299ee6c..5f47bc1667 100644 --- a/include/configs/ipq807x.h +++ b/include/configs/ipq807x.h @@ -339,12 +339,6 @@ extern loff_t board_env_size; * By default we are disabling it */ /*#define CONFIG_IPQ_REPORT_L2ERR*/ -/* - * FAT FS commands - */ -#define CONFIG_FS_FAT -#define CONFIG_CMD_FAT - /* * Other commands */