From patchwork Fri Jan 11 09:52:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 155317 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp374290jaa; Fri, 11 Jan 2019 01:52:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN7pWC/G1rrUzmGyjep3Fp6VeEoIZbNcfOLFouryVXZwyCn1ROChgzTkead+UPQxXcYjXM9T X-Received: by 2002:a62:345:: with SMTP id 66mr13757654pfd.189.1547200349155; Fri, 11 Jan 2019 01:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547200349; cv=none; d=google.com; s=arc-20160816; b=TlW8DTvRUqShY01nxxqd2JvbzIheOBd/PoTtcLP9MT2Ff1Ojf74D4sKxNrv9frP1A0 npMnjqKqcZvYliFdHW27WQnJTbLIz6il7HPxc5fkEJP/CsD98b38kF/ySstBhAWJtGQv GEi6qyRG3hIDCch2XPUf3ZRlQXl+ZIEGfpWNrkNt1RhsJhtL+MZkp5j/5bGgdPif5xSw T2t31Mo8nbowUYdfv/OTi5sIXmdzEfxOe/5MSwCxcEO1+FhfzQwxYcxUMzVs2gMpkChE JLD8hiPV+lAFs+zDJ6YweQRWZ+RuKa6Pk0qMaHGXtgseBw+OqfE3J9kUIQrS1/M+YS0U LV/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=hmjRxVLse3KfB65gtEHQhiYrire4aNjXDv2r+uSNxeM=; b=WUH28ageU7Wh+AAzHsx3WAK687ALqanCurvDadGR1fKwv91QFhp3uf5PcswQAV+yap +YeEwSJtbWHQatzBjhtjDAaIkq/g1VzrHdQdl1WPKu85hrAlY59IvCHpm58LaqNl2BLl yxHMYnuNqH7MuHcg7e6uGOdmKGFqkYR+fNupY8D5OrrsVLOkhYq/GD1IZSWxhL04g6KY dh5BFfHqr+FqymnBpwakWHzWr5vOH3nPG1FQfO7HZ2PjBx5vEWzNL9Xal+F7xWbQJsdz EEsOrjGQGlaBa5YrL9QA7qAUHTl5QQUiQhy7U/bkD4HlTCYUdJsRHlb5sC8LeH9sSFWq 1Kvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M658JAGb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si8863130plr.403.2019.01.11.01.52.28; Fri, 11 Jan 2019 01:52:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=M658JAGb; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731542AbfAKJw2 (ORCPT + 31 others); Fri, 11 Jan 2019 04:52:28 -0500 Received: from conuserg-10.nifty.com ([210.131.2.77]:40670 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728175AbfAKJw1 (ORCPT ); Fri, 11 Jan 2019 04:52:27 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id x0B9q8sf019557; Fri, 11 Jan 2019 18:52:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com x0B9q8sf019557 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1547200328; bh=hmjRxVLse3KfB65gtEHQhiYrire4aNjXDv2r+uSNxeM=; h=From:To:Cc:Subject:Date:From; b=M658JAGb6bGNWqWs0/9dCqILZx0D6Ym/RPDBzEjnuJoA5Q2EWSLwN9Yq1Am7EZjtj RYPQRc3wqk8I0GdFRvbs7GFrn01WdqDiv42FM2yYE26yxacBWRkkQORJ1HkGQrbgQw V74DXKYHIGVnhV07wGGUFetpfLb1lABcO021HPqLUm/l7di7L8VDNlaguh7Uakc2ck JzjxpSeg1pJaN81jjiriNKHbphLsQUVnjoNteMTxhYDOIdAW8FhOcHR4A81v0CYGab DzN0RMVVuDe9u6nYU8oZkTOPU7Klys7HYUpPVMhRsbaVAAzHo84C4aZ6PeypbZpPlo AfM35uxYZya/g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Luis Chamberlain Cc: Masahiro Yamada , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Marek , Greg Kroah-Hartman , "Rafael J. Wysocki" Subject: [PATCH] firmware_loader: move firmware/ to drivers/base/firmware_loader/builtin/ Date: Fri, 11 Jan 2019 18:52:00 +0900 Message-Id: <1547200321-17120-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently, the 'firmware' directory only contains a single Makefile to embed extra firmware into the kernel. Move it to the more relevant place. Signed-off-by: Masahiro Yamada --- Makefile | 2 +- drivers/base/firmware_loader/Makefile | 2 ++ {firmware => drivers/base/firmware_loader/builtin}/.gitignore | 0 {firmware => drivers/base/firmware_loader/builtin}/Makefile | 0 4 files changed, 3 insertions(+), 1 deletion(-) rename {firmware => drivers/base/firmware_loader/builtin}/.gitignore (100%) rename {firmware => drivers/base/firmware_loader/builtin}/Makefile (100%) -- 2.7.4 diff --git a/Makefile b/Makefile index 8c55b64..1625c99 100644 --- a/Makefile +++ b/Makefile @@ -583,7 +583,7 @@ export KBUILD_MODULES KBUILD_BUILTIN ifeq ($(KBUILD_EXTMOD),) # Objects we will link into vmlinux / subdirs we need to visit init-y := init/ -drivers-y := drivers/ sound/ firmware/ +drivers-y := drivers/ sound/ net-y := net/ libs-y := lib/ core-y := usr/ diff --git a/drivers/base/firmware_loader/Makefile b/drivers/base/firmware_loader/Makefile index 5c7f422..0b2dfa6 100644 --- a/drivers/base/firmware_loader/Makefile +++ b/drivers/base/firmware_loader/Makefile @@ -5,3 +5,5 @@ obj-$(CONFIG_FW_LOADER_USER_HELPER) += fallback_table.o obj-$(CONFIG_FW_LOADER) += firmware_class.o firmware_class-objs := main.o firmware_class-$(CONFIG_FW_LOADER_USER_HELPER) += fallback.o + +obj-y += builtin/ diff --git a/firmware/.gitignore b/drivers/base/firmware_loader/builtin/.gitignore similarity index 100% rename from firmware/.gitignore rename to drivers/base/firmware_loader/builtin/.gitignore diff --git a/firmware/Makefile b/drivers/base/firmware_loader/builtin/Makefile similarity index 100% rename from firmware/Makefile rename to drivers/base/firmware_loader/builtin/Makefile