path: root/CREDITS
diff options
authorSascha Hauer <>2022-03-10 22:12:07 +0100
committerSascha Hauer <>2022-05-25 14:08:47 +0200
commitd2b3d4f45d43e20e5cb70943fa1cd3c23148411d (patch)
tree042f39a6ed3a9c76892f0e39f5da93b1059ce8b6 /CREDITS
parent6cf197fa61f9cc7dbc0f3de4c529b95071099fd1 (diff)
power: reset: reboot-mode: Fix resetting to normal mode
To clear the reboot mode for next reboot during registration of a reboot mode driver we call reboot->write() with a zero initialized u32 array with a single entry. This is wrong for two reasons. First the array is too short, for i.MX6 we need to entries. Then it is assumed that the magic to write to the register is '0' for normal boot, but it could be an arbitrary value. To fix this pick the index of the normal boot entry and pass the corresponding magic values to reboot->write(). While at it only do this when a normal boot entry actually exists. Signed-off-by: Sascha Hauer <> Link: Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions