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> |
||
---|---|---|
.. | ||
clock.c | ||
ddr.c | ||
Kconfig | ||
litesom.c | ||
Makefile | ||
module_fuse.c | ||
mp.c | ||
opos6ul.c | ||
soc.c |