commit | 12f9b4d08628c75a02f68a45eb8193efbe8ebb2f | [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 | ca27227c5940371c792cfd36826315b3e17e46a1 [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>