Skip to content
Commit f1f4578c authored by Noralf Trønnes's avatar Noralf Trønnes Committed by popcornmix
Browse files

watchdog: bcm2835: Support setting reboot partition



The Raspberry Pi firmware looks at the RSTS register to know which
partition to boot from. The reboot syscall command
LINUX_REBOOT_CMD_RESTART2 supports passing in a string argument.

Add support for passing in a partition number 0..63 to boot from.
Partition 63 is a special partiton indicating halt.
If the partition doesn't exist, the firmware falls back to partition 0.

Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
parent 205f23af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment