rk3399: Check MMC env while defining it
authorJagan Teki <jagan@amarulasolutions.com>
Sat, 21 Dec 2019 07:54:34 +0000 (13:24 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000 (11:44 +0800)
commit7c5f6d0aa4126ba74c0c8f95f916063418a2a130
treea1c93837ebe5b48d9a97f24b9775aa2ef95521ca
parent95052b4b4001647ac0edd3216f92737cc06b1622
rk3399: Check MMC env while defining it

rk3399 do support SPI flash as well, so there is
a possibility of using flash environment for those
usecases.

So define env device for MMC only when it is used
by specific configuration.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/evb_rk3399.h