commit | 71388ee52867be6903b43ef700b1f06d1995246b | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed Nov 25 19:20:10 2020 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon Dec 07 07:11:37 2020 +0100 |
tree | 5314df8bd46d936cd903936e845cb690102110b4 | |
parent | 53d207666ada31d1cd652e95aaa46be0133733e6 [diff] |
arm: mvebu: Espressobin: Detect presence of emmc at runtime Try to initialize emmc in board_late_init() and if it fails then we know that emmc device is not connected. This allows to use in U-Boot just one DTS file for all Espressobin variants and also to correctly set fdtfile env variable for Linux kernel. Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Gérald Kerma <gerald@gk2.net> Reviewed-by: Andre Heider <a.heider@gmail.com>