commit | 476588c9b484d9483a1d309499cd83dad49cec73 | [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 | 02ac1553b8329f866c1761f5d9fe66972817782c [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>