env: fix allow to build multiple environments
authorRajesh Bhagat <rajesh.bhagat@nxp.com>
Sat, 12 Jan 2019 07:30:51 +0000 (07:30 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 17 Jan 2019 21:16:31 +0000 (13:16 -0800)
commit43d17c485fc2f710a8e3fa7bb8df320f67ac93fa
treece077df1ee293d17b46c3ddba50388551bdb8535
parent1908201caeca1a1bf63a112dfb1fc1fbc445e4d0
env: fix allow to build multiple environments

Patch fixes build error when enabling CONFIG_ENV_IS_IN_SPI_FLAS
and CONFIG_ENV_IS_IN_MMC at the same time mentioned issue in
below link:

Refer: https://lists.denx.de/pipermail/u-boot/2018-February/319565.html

build error when enabling CONFIG_ENV_IS_IN_SPI_FLASH and
CONFIG_ENV_IS_IN_MMC at the same time.

Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
include/environment.h
include/mmc.h