[PATCH v1 2/2] x86/init: disable pnpbios for X86_SUBARCH_CE4100
From: Luis R. Rodriguez
Date: Fri Apr 08 2016 - 20:23:06 EST
As per hpa CE4100 platforms can also disable pnpbios [0].
[0] http://lkml.kernel.org/r/5702B5C2.7070101@xxxxxxxxx
Suggested-by: H. Peter Anvin <hpa@xxxxxxxxx>
Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxx>
---
arch/x86/kernel/platform-quirks.c | 3 +++
1 file changed, 3 insertions(+)
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)
--
2.7.2