From patchwork Mon Mar 13 11:53:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 95206 Delivered-To: patch@linaro.org Received: by 10.140.82.71 with SMTP id g65csp1134724qgd; Mon, 13 Mar 2017 04:53:53 -0700 (PDT) X-Received: by 10.84.225.146 with SMTP id u18mr47791590plj.157.1489406033744; Mon, 13 Mar 2017 04:53:53 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si275430plk.276.2017.03.13.04.53.53; Mon, 13 Mar 2017 04:53:53 -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=@ti.com; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752759AbdCMLxo (ORCPT + 25 others); Mon, 13 Mar 2017 07:53:44 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:63206 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752146AbdCMLx0 (ORCPT ); Mon, 13 Mar 2017 07:53:26 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2DBrNTP021509; Mon, 13 Mar 2017 06:53:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1489406003; bh=NLnWwR+GEPx80tgAAOFdxnClLF0kiWY/wcXspTI8l9Y=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KQVzy/1XjOAEoPtdAFSwVKhNUASVJfdjX4U6+V5bzwGU0vM+hznlmZ41Mid1HeKeK YG9fQAug1fxmX36ae3htlBiSLvK0W/ZYO2NjY6IH0Sh9Ca3Bgdj/dt8IoFQIrAzBq+ 1D20Co78tYy1NDhfRNVYiOj7tdP4XMh5jQVTdsBY= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2DBrNPF018488; Mon, 13 Mar 2017 06:53:23 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Mon, 13 Mar 2017 06:53:22 -0500 Received: from lta0400828d.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2DBrH2A025695; Mon, 13 Mar 2017 06:53:20 -0500 From: Roger Quadros To: , CC: , , , , Subject: [PATCH 1/4] ARM: OMAP2+: omap_hwmod: provide space for more hwmod flags Date: Mon, 13 Mar 2017 13:53:13 +0200 Message-ID: <1489405996-10718-2-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489405996-10718-1-git-send-email-rogerq@ti.com> References: <1489405996-10718-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sekhar Nori 'flags' member of omap_hwmod structure is fast running out of space with 16 different flags already defined. Make flags a 32-bit entity so as to allow for more flags. This results is a ~2.3K data section size increase with TI config fragments. before: text data bss dec hex filename 8886648 610452 261876 9758976 94e900 vmlinux after: text data bss dec hex filename 8886584 612820 261876 9761280 94f200 vmlinux Signed-off-by: Sekhar Nori --- arch/arm/mach-omap2/omap_hwmod.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index 7890401..9e1c4ed 100644 --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h @@ -698,7 +698,7 @@ struct omap_hwmod { struct list_head node; struct omap_hwmod_ocp_if *_mpu_port; unsigned int (*xlate_irq)(unsigned int); - u16 flags; + u32 flags; u8 mpu_rt_idx; u8 response_lat; u8 rst_lines_cnt;