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

2022-02-05 Thread sbabic
> 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 > Reviewed-by: Fabio

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

2022-01-15 Thread Fabio Estevam
On Wed, Dec 1, 2021 at 6:11 AM Harald Seiler 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`. > >

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

2021-12-01 Thread Harald Seiler
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 --- arch/arm/mach-imx/mx6/soc.c |