Claudius Heine e01c8cfe57 ARM: imx: Fix bmode detection from grp10
imx6_is_bmode_from_gpr9 always returns false, because
IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return.

This moves the function body into imx6_src_get_boot_mode, since that is the
only one using it and it is on the same abstraction level (accessing
registers directly).

Signed-off-by: Claudius Heine <ch@denx.de>
2019-11-03 17:04:16 +01:00
..
2019-10-14 09:31:41 +02:00
2019-10-08 16:36:36 +02:00
2019-09-02 06:35:08 +02:00
2019-04-13 20:30:09 +02:00