From patchwork Wed Sep 26 21:50:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: stuart hayes X-Patchwork-Id: 10616923 X-Patchwork-Delegate: andy.shevchenko@gmail.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 97036175A for ; Wed, 26 Sep 2018 21:51:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 86A362B8B2 for ; Wed, 26 Sep 2018 21:51:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7AF772B8A4; Wed, 26 Sep 2018 21:51:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 13A452B8A9 for ; Wed, 26 Sep 2018 21:51:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727015AbeI0EGE (ORCPT ); Thu, 27 Sep 2018 00:06:04 -0400 Received: from mail-oi1-f194.google.com ([209.85.167.194]:39652 "EHLO mail-oi1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725722AbeI0EFj (ORCPT ); Thu, 27 Sep 2018 00:05:39 -0400 Received: by mail-oi1-f194.google.com with SMTP id y81-v6so443634oia.6; Wed, 26 Sep 2018 14:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=D/afg/UvmSkYHhmNxJ6kX9vCceUTJZfYsQZZUO95LAs=; b=oVnG6CTMcbE3T7P10xo3XXZ71GlkqCr5z3lgZNY84xaVw/KlZbFfRSmc8l9QCuAM0O EXIGTAHjsPDPZov04EWCxwVr+a9pD6IzIdr6P6dFz3Qbxwjdz7MZN2jDPrYdt5dXSGAc kn5meDMXGqYp024Li2+ODXeFkORqSsZQYyOiT5g1S+QwHsIum4SHFz294q3JDNbifvAv 9iVicmlm7L4KFoez0f5kX6Nhed489BvSD37qLX4U1BUYlCEdLj+mVr/Bs6kVOYLc1llt 6YU+NMHvG7UnAQKrCqH9NfnF8Stj9XL+ZwqYVMve0pDjLTm9EF6Yp0C2rZHiQMGis0ya 7l7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=D/afg/UvmSkYHhmNxJ6kX9vCceUTJZfYsQZZUO95LAs=; b=isbVAuPJwlLwWgUHJqWu8C4Io7EmD777p7zIJ+yc/jayOllK+7xns//vXWj3qKSq9T pm8sATknIEbIcXyMS0f6GWQL+rSOE2ObhdX0R/keeSATPBRM4U+QE0QsWJdpPQ0YpjuQ mpmDo7wr44bW0dFCJEWd5XRmdbOH/e63fGH7yHaK2j9WMF2EZRW9NtKWNy6H1KQECRSY RMCq5IRASf+yJ+Af8FZALu4QUTSx68dK6Rx+2XO6ygkGJjEUzHotvuRnUgfMmMgkxXCW Kuq4g+9p2QcnvHk/8S60xfH/l+zcOrHO870K+In71jwhl8wAIDLE5+bwQo/wVS775jrV bw2Q== X-Gm-Message-State: ABuFfohK9MtsQugMLBK9VdCGJdvD3NwnltUdKgB8ymTkBwnFflGSQbSb csSrIo8x3P6T9igMrNzyIaY= X-Google-Smtp-Source: ACcGV62mAFy2Gk53Y0XwXZydt+C/rmChJvJvcK3LngISq6XlQcxEgFRZlqXmpBY+TgjSbIhq0CNq5A== X-Received: by 2002:aca:da54:: with SMTP id r81-v6mr1711518oig.47.1537998640081; Wed, 26 Sep 2018 14:50:40 -0700 (PDT) Received: from localhost.localdomain ([143.166.81.254]) by smtp.gmail.com with ESMTPSA id b124-v6sm95121oii.14.2018.09.26.14.50.38 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 14:50:39 -0700 (PDT) From: Stuart Hayes To: dvhart@infradead.org, Andy Shevchenko Cc: Mario Limonciello , LKML , platform-driver-x86@vger.kernel.org, Doug Warzecha , Stuart Hayes Subject: [PATCH v2 3/5] firmware: dell_rbu: Move dell_rbu to drivers/platform/x86 Date: Wed, 26 Sep 2018 16:50:19 -0500 Message-Id: <20180926215021.30471-4-stuart.w.hayes@gmail.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180926215021.30471-1-stuart.w.hayes@gmail.com> References: <20180926215021.30471-1-stuart.w.hayes@gmail.com> MIME-Version: 1.0 Sender: platform-driver-x86-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move dell_rbu to the more appropriate directory drivers/platform/x86. Signed-off-by: Stuart Hayes --- v2 changes: - add commit message drivers/firmware/Kconfig | 12 ------------ drivers/firmware/Makefile | 1 - drivers/platform/x86/Kconfig | 12 ++++++++++++ drivers/platform/x86/Makefile | 1 + drivers/{firmware => platform/x86}/dell_rbu.c | 0 5 files changed, 13 insertions(+), 13 deletions(-) rename drivers/{firmware => platform/x86}/dell_rbu.c (100%) diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig index 6e83880046d7..02f39d20efce 100644 --- a/drivers/firmware/Kconfig +++ b/drivers/firmware/Kconfig @@ -145,18 +145,6 @@ config EFI_PCDP See DIG64_HCDPv20_042804.pdf available from -config DELL_RBU - tristate "BIOS update support for DELL systems via sysfs" - depends on X86 - select FW_LOADER - select FW_LOADER_USER_HELPER - help - Say m if you want to have the option of updating the BIOS for your - DELL system. Note you need a Dell OpenManage or Dell Update package (DUP) - supporting application to communicate with the BIOS regarding the new - image for the image update to take effect. - See for more details on the driver. - config DCDBAS tristate "Dell Systems Management Base Driver" depends on X86 diff --git a/drivers/firmware/Makefile b/drivers/firmware/Makefile index e18a041cfc53..61887ba9df1d 100644 --- a/drivers/firmware/Makefile +++ b/drivers/firmware/Makefile @@ -11,7 +11,6 @@ obj-$(CONFIG_DMI) += dmi_scan.o obj-$(CONFIG_DMI_SYSFS) += dmi-sysfs.o obj-$(CONFIG_EDD) += edd.o obj-$(CONFIG_EFI_PCDP) += pcdp.o -obj-$(CONFIG_DELL_RBU) += dell_rbu.o obj-$(CONFIG_DCDBAS) += dcdbas.o obj-$(CONFIG_DMIID) += dmi-id.o obj-$(CONFIG_ISCSI_IBFT_FIND) += iscsi_ibft_find.o diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 0c1aa6c314f5..cb037da32107 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -227,6 +227,18 @@ config DELL_RBTN To compile this driver as a module, choose M here: the module will be called dell-rbtn. +config DELL_RBU + tristate "BIOS update support for DELL systems via sysfs" + depends on X86 + select FW_LOADER + select FW_LOADER_USER_HELPER + help + Say m if you want to have the option of updating the BIOS for your + DELL system. Note you need a Dell OpenManage or Dell Update package (DUP) + supporting application to communicate with the BIOS regarding the new + image for the image update to take effect. + See for more details on the driver. + config FUJITSU_LAPTOP tristate "Fujitsu Laptop Extras" diff --git a/drivers/platform/x86/Makefile b/drivers/platform/x86/Makefile index e6d1becf81ce..8843f8e22127 100644 --- a/drivers/platform/x86/Makefile +++ b/drivers/platform/x86/Makefile @@ -23,6 +23,7 @@ obj-$(CONFIG_DELL_WMI_AIO) += dell-wmi-aio.o obj-$(CONFIG_DELL_WMI_LED) += dell-wmi-led.o obj-$(CONFIG_DELL_SMO8800) += dell-smo8800.o obj-$(CONFIG_DELL_RBTN) += dell-rbtn.o +obj-$(CONFIG_DELL_RBU) += dell_rbu.o obj-$(CONFIG_ACER_WMI) += acer-wmi.o obj-$(CONFIG_ACER_WIRELESS) += acer-wireless.o obj-$(CONFIG_ACERHDF) += acerhdf.o diff --git a/drivers/firmware/dell_rbu.c b/drivers/platform/x86/dell_rbu.c similarity index 100% rename from drivers/firmware/dell_rbu.c rename to drivers/platform/x86/dell_rbu.c