board: samsung: configure emmc_dev environment
authorChanho Park <chanho61.park@samsung.com>
Tue, 1 Dec 2015 12:18:17 +0000 (21:18 +0900)
committerChanho Park <chanho61.park@samsung.com>
Wed, 2 Dec 2015 02:39:17 +0000 (11:39 +0900)
commit895ce33b05292ee7309c7cd75f2b22eaa554ab22
treed186fc898bb00b38b167f5b5ac112e9e979246a0
parentd82fb6dee5b1016fc61429c11e9dcf763321036d
board: samsung: configure emmc_dev environment

This patch enable to set the emmc_dev number because it's
varied by boot order. If the board is booted from sdcard,
the emmc device number will be 1 not default 0. Thus, I
set a "emmc_dev" environment to retrieve the number anywhere.

Change-Id: I9324f855151bcfee85e351749ae91cab51ec4a22
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
board/samsung/espresso3250/espresso3250.c
board/samsung/smdk5422/smdk5422.c