diff mbox

[LEDE-DEV,RFC,v3,1/2] x86: enable DMI and DMI_SYSFS

Message ID 1464794074-27276-2-git-send-email-jo@mein.io
State RFC
Headers show

Commit Message

Jo-Philipp Wich June 1, 2016, 3:14 p.m. UTC
Enable support for DMI decoding in the kernel so that we can access
manufacturer and model information via sysfs.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
---
 target/linux/x86/config-4.4 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Stijn Tintel June 2, 2016, 5:26 p.m. UTC | #1
On 01-06-16 17:14, Jo-Philipp Wich wrote:
> Enable support for DMI decoding in the kernel so that we can access
> manufacturer and model information via sysfs.
>
> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
> ---
>  target/linux/x86/config-4.4 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4
> index 5b54031..bb6ef65 100644
> --- a/target/linux/x86/config-4.4
> +++ b/target/linux/x86/config-4.4
> @@ -98,7 +98,8 @@ CONFIG_DECOMPRESS_BZIP2=y
>  CONFIG_DECOMPRESS_GZIP=y
>  CONFIG_DEFAULT_IO_DELAY_TYPE=0
>  # CONFIG_DELL_RBU is not set
> -# CONFIG_DMI is not set
> +CONFIG_DMI=y
> +CONFIG_DMI_SYSFS=y
>  CONFIG_DNOTIFY=y
>  CONFIG_DUMMY_CONSOLE=y
>  CONFIG_EARLY_PRINTK=y
This change causes missing symbols for x86/64, possibly other subtargets:
DMIID
LEDS_CLEVO_MAIL

And I think we should enable this for all x86 subtargets.

Stijn
diff mbox

Patch

diff --git a/target/linux/x86/config-4.4 b/target/linux/x86/config-4.4
index 5b54031..bb6ef65 100644
--- a/target/linux/x86/config-4.4
+++ b/target/linux/x86/config-4.4
@@ -98,7 +98,8 @@  CONFIG_DECOMPRESS_BZIP2=y
 CONFIG_DECOMPRESS_GZIP=y
 CONFIG_DEFAULT_IO_DELAY_TYPE=0
 # CONFIG_DELL_RBU is not set
-# CONFIG_DMI is not set
+CONFIG_DMI=y
+CONFIG_DMI_SYSFS=y
 CONFIG_DNOTIFY=y
 CONFIG_DUMMY_CONSOLE=y
 CONFIG_EARLY_PRINTK=y