summaryrefslogtreecommitdiff
path: root/include/linux/bitops.h
diff options
context:
space:
mode:
authorNikita Kiryanov <[email protected]>2014-10-29 19:28:33 +0200
committerStefano Babic <[email protected]>2014-11-12 09:03:54 +0100
commitf2863ff3f47c99c4b5ba00be572e3a2c4213c5a2 (patch)
tree24fbac07b3737bf73e53e3eb6fb7093676a5a188 /include/linux/bitops.h
parent63f7af9a4cfb4a3b9136674c6612c6d13957c2cd (diff)
arm: imx: make bmode command work with SPL/U-Boot combo
The bmode command forces the SoC to use a specific boot device by writing its boot mode into SRC_GPR9, and notifying the SoC of the change using SRC_GPR10[28] bit: if the bit is on, bootROM uses the value in SRC_GPR9 instead of SRC_SMBR1 to determine the boot device. SPL on the other hand is oblivious to this distinction, so once the bootROM loads SPL from the device configured in SRC_GPR10, SPL will attempt to load U-Boot from the device configured in SRC_SMBR1, which is not updated by the bootROM to the value in SRC_GPR9. The result is that the selected boot device is not used across all the boot stages. Update spl_boot_device() to look at gpr9 when necessary. Signed-off-by: Nikita Kiryanov <[email protected]> Cc: Stefano Babic <[email protected]> Cc: Troy Kisky <[email protected]> Cc: Tim Harvey <[email protected]> Cc: Eric Nelson <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Heiko Schocher <[email protected]>
Diffstat (limited to 'include/linux/bitops.h')
0 files changed, 0 insertions, 0 deletions