[PATCH qemu v2] Add basic power management to raspi.

2021-06-02 Thread ~nolanl
From: Nolan Leake This is just enough to make reboot and poweroff work. Works for linux, u-boot, and the arm trusted firmware. Not tested, but should work for plan9, and bare-metal/hobby OSes, since they seem to generally do what linux does for reset. The watchdog timer functionality is not yet

[PATCH qemu] Add basic power management to raspi.

2021-05-18 Thread ~nolanl
From: Nolan Leake This is just enough to make reboot and poweroff work. Notably, the watchdog timer functionality is not yet implemented. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/64 Signed-off-by: Nolan Leake --- hw/arm/bcm2835_peripherals.c | 13 ++- hw/misc/bcm2835_po