]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: raspberrypi: notify VC4 firmware of a reboot
authorStefan Wahren <stefan.wahren@i2se.com>
Fri, 7 Dec 2018 18:21:11 +0000 (19:21 +0100)
committerStefan Wahren <stefan.wahren@i2se.com>
Wed, 9 Jan 2019 15:38:34 +0000 (16:38 +0100)
commit3183977d47ded38afc68fe1bee13f3c5fe1b0afe
tree5f38da1e54fe83e3ee497907aff1ca6d740d5ceb
parent646b112db4e569019656f7f23ac936e8afbb09e3
firmware: raspberrypi: notify VC4 firmware of a reboot

The firmware-owned GPIO expander on RPi 3 B+ must be in same state
after a reboot as initial power on. Otherwise this would cause a
network boot failure of the BOOTROM. So inform the VC4 firmware to restore
the expander before doing a reboot.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Tested-by: Phil Elwell <phil@raspberrypi.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/firmware/raspberrypi.c