diff mbox

[v1,2/2] x86/init: disable pnpbios for X86_SUBARCH_CE4100

Message ID 1460161361-13635-3-git-send-email-mcgrof@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Luis Chamberlain April 9, 2016, 12:22 a.m. UTC
As per hpa CE4100 platforms can also disable pnpbios [0].

[0] http://lkml.kernel.org/r/5702B5C2.7070101@zytor.com

Suggested-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
---
 arch/x86/kernel/platform-quirks.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox

Patch

diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c
index 853919484340..1b63daf0dd06 100644
--- a/arch/x86/kernel/platform-quirks.c
+++ b/arch/x86/kernel/platform-quirks.c
@@ -20,6 +20,9 @@  void __init x86_early_init_platform_quirks(void)
 		x86_platform.legacy.devices.pnpbios = 0;
 		x86_platform.legacy.rtc = 0;
 		break;
+	case X86_SUBARCH_CE4100:
+		x86_platform.legacy.devices.pnpbios = 0;
+		break;
 	}
 
 	if (x86_platform.set_legacy_features)