[linux-yocto] [kernel-meta v4.19&v5.0 PATCH] mips: Enable the poweroff driver for the qemumips/qemumips64

Kevin Hao kexin.hao at windriver.com
Wed Apr 3 04:30:58 PDT 2019


As Indicated by Richard Purdie, in order to shutdown the machine we have
to explicitly enable the PIIX4 poweroff driver for the
qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta:
Use PIIX4 poweroff driver to power down") is merged.

Signed-off-by: Kevin Hao <kexin.hao at windriver.com>
---
 bsp/mti-malta32/mti-malta32-common.cfg | 3 +++
 bsp/mti-malta64/mti-malta64-common.cfg | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/bsp/mti-malta32/mti-malta32-common.cfg b/bsp/mti-malta32/mti-malta32-common.cfg
index d30a38d0f89f..51b9bdc46586 100644
--- a/bsp/mti-malta32/mti-malta32-common.cfg
+++ b/bsp/mti-malta32/mti-malta32-common.cfg
@@ -73,3 +73,6 @@ CONFIG_SERIO=y
 CONFIG_USB_MON=y
 CONFIG_USB_OHCI_HCD=y
 
+# Board reset
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_PIIX4_POWEROFF=y
diff --git a/bsp/mti-malta64/mti-malta64-common.cfg b/bsp/mti-malta64/mti-malta64-common.cfg
index a6c1202c5b13..c178fd07a127 100644
--- a/bsp/mti-malta64/mti-malta64-common.cfg
+++ b/bsp/mti-malta64/mti-malta64-common.cfg
@@ -79,3 +79,6 @@ CONFIG_USB_OHCI_HCD=y
 
 # CONFIG_VGA_CONSOLE is not set
 
+# Board reset
+CONFIG_POWER_RESET=y
+CONFIG_POWER_RESET_PIIX4_POWEROFF=y
-- 
2.14.4



More information about the linux-yocto mailing list