ipq807x: uboot: MMC: Disabling default MMC init

This patch involves changes which makes
sure that MMC init is not done by default
in uboot.

It includes packages required for MMC
init only if CONFIG_QCA_MMC is defined.

This allows us to easily disable/enable
MMC as and when required

Change-Id: I8c64560aee71feed432238c2f9f71e2f6a24d5d9
Signed-off-by: speriaka <speriaka@codeaurora.org>
This commit is contained in:
speriaka 2017-11-17 12:22:14 +05:30 committed by Gerrit - the friendly Code Review server
parent 7b2d4846e7
commit ff39200468
2 changed files with 4 additions and 4 deletions

View file

@ -71,7 +71,6 @@ CONFIG_CMD_FLASH=y
# CONFIG_CMD_I2C is not set
# CONFIG_CMD_USB is not set
CONFIG_CMD_FPGA=y
CONFIG_CMD_MMC=y
#
# Shell scripting commands
@ -194,9 +193,6 @@ CONFIG_SIMPLE_BUS=y
# MMC Host controller Support
#
# CONFIG_DM_MMC is not set
CONFIG_GENERIC_MMC=y
CONFIG_SDHCI=y
CONFIG_SDHCI_QCA=y
#
# NAND Device Support

View file

@ -160,6 +160,10 @@ extern loff_t board_env_size;
#ifdef CONFIG_QCA_MMC
#define CONFIG_MMC
#define CONFIG_CMD_MMC
#define CONFIG_GENERIC_MMC
#define CONFIG_SDHCI
#define CONFIG_SDHCI_QCA
#define CONFIG_EFI_PARTITION
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0