commit | e0026bf879539e64f4a559c471b9ea553479776a | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Wed May 19 15:16:19 2021 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Wed Jun 23 09:48:35 2021 +0200 |
tree | ac73a01178332905698d54b5d5f3fcb16533c936 | |
parent | 58d82cf77d4234ff79667787cf2de78a67bf2e82 [diff] |
arm64: zynqmp: Handle MMC seq number based on boot device K26 has EMMC and SD and default 0 is not working when system is booting out of SD which is controller 1. Add controller autodetection via mmc_get_env_dev(). The same code is used for distro_boot selection done in board_late_init(). bootseq variable can't be reused because this is called so late. Signed-off-by: Michal Simek <michal.simek@xilinx.com>