From 358ab11b8f6c96f846d19e06a7169e869fa7f11d Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Wed, 2 Dec 2015 14:02:21 +0900 Subject: [PATCH] Revert "board: samsung: configure emmc_dev environment" This reverts commit 895ce33b05292ee7309c7cd75f2b22eaa554ab22. When board is initialized, setenv will cause "Signal #8". Change-Id: Icddfd03e5b0a84bf7d73da65275245033a23b51b Signed-off-by: Chanho Park --- board/samsung/espresso3250/espresso3250.c | 3 --- board/samsung/smdk5422/smdk5422.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/board/samsung/espresso3250/espresso3250.c b/board/samsung/espresso3250/espresso3250.c index 96607bfe0..3b9b3b76f 100644 --- a/board/samsung/espresso3250/espresso3250.c +++ b/board/samsung/espresso3250/espresso3250.c @@ -204,9 +204,6 @@ int board_mmc_init(bd_t *bis) return err; } - if (OmPin == BOOT_MMCSD) - setenv("emmc_dev", "1"); - if (OmPin == BOOT_EMMC_4_4 || OmPin == BOOT_EMMC) { #ifdef USE_MMC0 set_mmc_clk(PERIPH_ID_SDMMC0, 0); diff --git a/board/samsung/smdk5422/smdk5422.c b/board/samsung/smdk5422/smdk5422.c index b91c89c3e..ca9dbdd4e 100644 --- a/board/samsung/smdk5422/smdk5422.c +++ b/board/samsung/smdk5422/smdk5422.c @@ -323,9 +323,6 @@ int board_mmc_init(bd_t *bis) } switch (OmPin) { - case BOOT_MMCSD: - setenv("emmc_dev", "1"); - break; case BOOT_EMMC_4_4: #if defined(USE_MMC0) set_mmc_clk(PERIPH_ID_SDMMC0, 1); -- 2.34.1