commit | a27dd70e9d4c18dcb4a4f012a279803145352521 | [log] [tgz] |
---|---|---|
author | Claudius Heine <ch@denx.de> | Tue Oct 29 13:08:43 2019 +0100 |
committer | Stefano Babic <sbabic@denx.de> | Sun Nov 03 17:04:16 2019 +0100 |
tree | 69defa7fb6acccf609c440b455cdf092143a0f8c | |
parent | 0b050c0e1bb387e1416e8b880e64b1d4507c158d [diff] |
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>