From patchwork Fri Apr 12 03:09:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 162083 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp98242jan; Thu, 11 Apr 2019 20:10:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxjyH5/z5pCkz8J/TK93GwVFKporuBbgm0jeQaIJKP9LV2qyq53vDDJv8O4vScJX7hH3W5 X-Received: by 2002:a17:902:2702:: with SMTP id c2mr35432867plb.37.1555038634314; Thu, 11 Apr 2019 20:10:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555038634; cv=none; d=google.com; s=arc-20160816; b=o9S3NUHW5TmwHdNc9ChyMQuGt36BoKmV1EDum08IugAkoOLrTWgCbdtpVHiefDk81c 0T4B0FmnGEbXiIdYl2FcHK8abRhJk4hZ79GoLdi3N/twPJW8c0UTOi+4mCyO/cR64RAO P5lSbYUEJHpQs62FqTDpDyNuqP2AvcBW03F+4+cNas3M7+FCdYHXBvgD9CnSavg4rv0v 10Z5IDeEgu8CueXuL6hX/Fxp0l4+2+tN2mQXNTszn86hodW05FGdgigXdXeHwg1NwlS7 DEIrUxCl4HnOgxaSqy9m8mRuEpsSSepMZlGkXHW1Ly8Y/b98ZG6sTWntFQMuHsLqZchs HgLw== 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=NJm8Jp/5FVCr70RF8H8c2eqxkBnhjeEvPOF/F2ziYIs=; b=h6ul1LpKlS/JNWL2zEX2yLMGkj780SkmbvK97k95R4k+jRRQibWOlLRjBxsolCqcfN mhb/gSyUseoTZEIXVti+0iiqCWNwUllQfhKBDxc0THQw3ugVSK+sOh65G9L/DviEeXMd Nysu6eGlO4vqDLwkxmyGfmzDUZLtqE3mKdrPppTtNSMXM38ZzcUtUy3wxcU55OGmtGTk xHAmupdJkBcN1CBfFSRxmyBHKW9K1kt7oUFxHBS4IQUjWalbKkv6bLmJemmBO+KYAHCr Rb4JV3bW7R8d0Z35/q4WwEnBmCVQnclXH7WLAn/wVEPWMmgUMcb+xVb4CcCgMMq6cKPm 0uCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=0R237QW3; 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 p3si35510062plr.45.2019.04.11.20.10.33; Thu, 11 Apr 2019 20:10:34 -0700 (PDT) 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=0R237QW3; 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 S1726827AbfDLDKc (ORCPT + 31 others); Thu, 11 Apr 2019 23:10:32 -0400 Received: from conuserg-12.nifty.com ([210.131.2.79]:34369 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbfDLDKc (ORCPT ); Thu, 11 Apr 2019 23:10:32 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id x3C39naP014385; Fri, 12 Apr 2019 12:09:49 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com x3C39naP014385 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1555038590; bh=NJm8Jp/5FVCr70RF8H8c2eqxkBnhjeEvPOF/F2ziYIs=; h=From:To:Cc:Subject:Date:From; b=0R237QW3qlz0hzPx+DCYfGkj48+UHpD76nqGGzksufp9IUJZyJynVXdK3bxBYo5VB eAy214th1nuey5qaS4xqsDmA5Q/z+sYn5BTPJxZcMpjqRXL6/gpZa2VC3qIZn0QKiB IcHaJSZSTUJiBlgCXvLLp1wxB5sc59Q5Y3jUtQaUzZWQxMhlN0ygp9uG3GbQVkfoSb VVSWmP9Yt6x9D0HI7S9ViiWc74990wj3Jm+VgWynjQrIjlVc0rt5c1HLuOS3k7ZsGs lsk5u/5hg+xieujYt1K0LdCibPwkPUx0q39QT87VyLfevyQCPByAbXU+Jd/uozIBYH JhKrQnOwy4fmA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , Naga Sureshkumar Relli , Michal Simek , Thierry Reding , Linus Walleij , linux-kernel@vger.kernel.org, Santosh Shilimkar , Dmitry Osipenko Subject: [PATCH] memory: ti-emif-sram: move driver-specific asm-offset.h to drivers/memory/ Date: Fri, 12 Apr 2019 12:09:41 +0900 Message-Id: <20190412030941.11373-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org is only generated and included by drivers/memory/, so it does not need to reside in the globally visible include/generated/. Signed-off-by: Masahiro Yamada --- I will apply this to linux-kbuild since this depends on another patch there. drivers/memory/.gitignore | 1 + drivers/memory/Makefile | 5 +++-- drivers/memory/ti-emif-sram-pm.S | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 drivers/memory/.gitignore -- 2.17.1 Acked-by: Santosh Shilimkar diff --git a/drivers/memory/.gitignore b/drivers/memory/.gitignore new file mode 100644 index 000000000000..cbca8b028437 --- /dev/null +++ b/drivers/memory/.gitignore @@ -0,0 +1 @@ +ti-emif-asm-offsets.h diff --git a/drivers/memory/Makefile b/drivers/memory/Makefile index 91ae4eb0e913..2eb0a5b44bb9 100644 --- a/drivers/memory/Makefile +++ b/drivers/memory/Makefile @@ -28,9 +28,10 @@ ti-emif-sram-objs := ti-emif-pm.o ti-emif-sram-pm.o AFLAGS_ti-emif-sram-pm.o :=-Wa,-march=armv7-a -drivers/memory/ti-emif-sram-pm.o: include/generated/ti-emif-asm-offsets.h +$(obj)/ti-emif-sram-pm.o: $(obj)/ti-emif-asm-offsets.h -include/generated/ti-emif-asm-offsets.h: drivers/memory/emif-asm-offsets.s FORCE +$(obj)/ti-emif-asm-offsets.h: $(obj)/emif-asm-offsets.s FORCE $(call filechk,offsets,__TI_EMIF_ASM_OFFSETS_H__) targets += emif-asm-offsets.s +clean-files += ti-emif-asm-offsets.h diff --git a/drivers/memory/ti-emif-sram-pm.S b/drivers/memory/ti-emif-sram-pm.S index a5369181e5c2..615cd6247739 100644 --- a/drivers/memory/ti-emif-sram-pm.S +++ b/drivers/memory/ti-emif-sram-pm.S @@ -14,12 +14,12 @@ * GNU General Public License for more details. */ -#include #include #include #include #include "emif.h" +#include "ti-emif-asm-offsets.h" #define EMIF_POWER_MGMT_WAIT_SELF_REFRESH_8192_CYCLES 0x00a0 #define EMIF_POWER_MGMT_SR_TIMER_MASK 0x00f0