summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2020-11-25 19:20:10 +0100
committerStefan Roese <sr@denx.de>2020-12-07 07:11:37 +0100
commit061c6d1b238aa100728b3082fc943e8f679f8e7f (patch)
tree5314df8bd46d936cd903936e845cb690102110b4 /drivers/ddr/imx/imx8m/ddr_init.c
parent135973967b6c0fd08e5c0e75e55e3ccae83f5853 (diff)
downloadu-boot-061c6d1b238aa100728b3082fc943e8f679f8e7f.tar.gz
u-boot-061c6d1b238aa100728b3082fc943e8f679f8e7f.tar.xz
u-boot-061c6d1b238aa100728b3082fc943e8f679f8e7f.zip
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>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions