commit | 51390ba1bf5ee8e6e09fbe722acdc7dd7b63fe05 | [log] [tgz] |
---|---|---|
author | Harald Seiler <hws@denx.de> | Wed Dec 01 10:11:47 2021 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Sat Feb 05 13:38:39 2022 +0100 |
tree | 294d645896e54e43011d97037bb0130209281566 | |
parent | 62b46de7546fcdc60ed65590e6880dcff713c675 [diff] |
mx6: Use imx6_src_get_boot_mode() to check boot device Use imx6_src_get_boot_mode() instead of manually reading SBMR1. The existing function has proper handling for software overrides of the bootdevice which can happen, for example, when booting from an alternate source using `bmode`. Signed-off-by: Harald Seiler <hws@denx.de> Reviewed-by: Fabio Estevam <festevam@gmail.com>