firmware/psci: Pass given partition number through
authorPhil Elwell <phil@raspberrypi.com>
Mon, 11 Dec 2023 16:58:07 +0000 (16:58 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:23 +0000 (11:35 +0000)
commit010090fa133f8f9378a338cada0999870b1cf2ee
treeb5d74d6481bddd7e31759bf52908404752decef7
parent749a94a9aac3730f97257bbe4efae8415c3bf667
firmware/psci: Pass given partition number through

Pi 5 uses BL31 as its armstub file, so the reset goes via PSCI. Parse
any "reboot" parameter as a partition number to reboot into.
N.B. This code path is only used if reboot mode has been set to warm
or soft.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/firmware/psci/psci.c