]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
env_mmc.c: Allow environment to be used within SPL
authorTom Rini <trini@ti.com>
Fri, 28 Mar 2014 16:03:34 +0000 (12:03 -0400)
committerTom Rini <trini@ti.com>
Thu, 17 Apr 2014 18:39:54 +0000 (14:39 -0400)
commitb9c8ccaba77b24f7a1b4756a927f19dccf895954
treec25545a3fa36c38269c10dcd08b923d0c135bdf2
parent229695fee97abc7f4adad92eb8e036792c144bc6
env_mmc.c: Allow environment to be used within SPL

Inside of SPL we only concern ourself with one MMC device, so instead of
being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL.
Switch the code to use a 'dev' variable to facilitate this.

Signed-off-by: Tom Rini <trini@ti.com>
common/env_mmc.c