From patchwork Wed Jun 1 15:09:45 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jo-Philipp Wich X-Patchwork-Id: 628702 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rKYhw5VBSz9t4F for ; Thu, 2 Jun 2016 01:11:12 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b87mk-0002cJ-LC; Wed, 01 Jun 2016 15:10:18 +0000 Received: from mxout01.bytecamp.net ([212.204.60.217]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b87mg-0001Kp-DA for lede-dev@lists.infradead.org; Wed, 01 Jun 2016 15:10:16 +0000 Received: by mxout01.bytecamp.net (Postfix, from userid 1001) id 5F80130FDD8; Wed, 1 Jun 2016 17:09:52 +0200 (CEST) Received: from mail.bytecamp.net (mailstore.bytecamp.net [212.204.60.20]) by mxout01.bytecamp.net (Postfix) with ESMTP id 0E84230FCE9 for ; Wed, 1 Jun 2016 17:09:51 +0200 (CEST) Received: (qmail 51983 invoked by uid 89); 1 Jun 2016 17:09:51 +0200 Received: from unknown (HELO localhost.localdomain) (jo%wwsnet.net@213.61.250.148) by mail.bytecamp.net with AES128-SHA encrypted SMTP; 1 Jun 2016 17:09:51 +0200 From: Jo-Philipp Wich To: lede-dev@lists.infradead.org Date: Wed, 1 Jun 2016 17:09:45 +0200 Message-Id: <1464793786-27075-2-git-send-email-jo@mein.io> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1464793786-27075-1-git-send-email-jo@mein.io> References: <1464793786-27075-1-git-send-email-jo@mein.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160601_081014_635307_CAEF7764 X-CRM114-Status: UNSURE ( 8.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [212.204.60.217 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [212.204.60.217 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Subject: [LEDE-DEV] [RFC v2 1/2] x86: enable DMI and DMI_SYSFS X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jo-Philipp Wich MIME-Version: 1.0 Sender: "Lede-dev" Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org 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 --- 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