[PATCH] mx6: Use imx6_src_get_boot_mode() to check boot device

Fabio Estevam festevam at gmail.com
Sat Jan 15 14:54:54 CET 2022


On Wed, Dec 1, 2021 at 6:11 AM Harald Seiler <hws at denx.de> wrote:
>
> 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 at denx.de>

Reviewed-by: Fabio Estevam <festevam at gmail.com>


More information about the U-Boot mailing list