From patchwork Fri Apr 20 09:14:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 901810 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=nifty.com header.i=@nifty.com header.b="POyGQKHQ"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 40S9Db1ln2z9s08 for ; Fri, 20 Apr 2018 19:15:09 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 547CAC22049; Fri, 20 Apr 2018 09:15:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4B4C6C21F9B; Fri, 20 Apr 2018 09:15:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 7DA14C22002; Fri, 20 Apr 2018 09:15:01 +0000 (UTC) Received: from conuserg-09.nifty.com (conuserg-09.nifty.com [210.131.2.76]) by lists.denx.de (Postfix) with ESMTPS id 5907CC21F9B for ; Fri, 20 Apr 2018 09:15:00 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w3K9ESOo030098; Fri, 20 Apr 2018 18:14:29 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w3K9ESOo030098 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1524215669; bh=8wXMvMLJiCM07qY8YSpThEjmPTWjJIOB2PqTp0OGdrU=; h=From:To:Cc:Subject:Date:From; b=POyGQKHQbfpIGksyrfG4LSE3clwKp62ZwMmbpwbZ7v4zPMcapC6U19F47n0nGwWdo NnoYrGzc1Q2whsU+niaV5wgsalYXE/4gZZ5gWnVNagkjDvNMq4nHb+L+apYpVr8wxy 53Kd2LJb95+QkTVdc+vC5j1S4z8rHRHV8qfYHIpHgH2cZZtchYxMWQiUbIdzFrLhoN DAhrqvKh90TG5A7nETS5VVSamFuZ3cPYvEVjg73/3nc+nKq0ZDaI8GlAW6iXIa4ryw kKUgebXmo8BJqUehgBY9A91UlenIh+ZvJS4EBhLRXwk4bvqK7qhKspqGzhOW8f8niL +22zO1mD5CtpA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Fri, 20 Apr 2018 18:14:23 +0900 Message-Id: <1524215667-32112-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Subject: [U-Boot] [PATCH 0/4] ARM: uniphier: decrease the SPL image size to fix uniphier_v7_defconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Usually, the image size tends to increase gradually. Finally, it is hitting the size limit for my board. One size consuming part is the clock driver, and it is only used by the SD/eMMC driver in SPL. By disabling it, I can save lots of space. Masahiro Yamada (4): mmc: tmio: move clk_enable() to each driver's probe function mmc: uniphier-sd: skip clock set-up for SPL ARM: dts: uniphier: drop u-boot,dm-pre-reloc from SD/eMMC clock node clk: uniphier: disable SPL_CLK arch/arm/dts/uniphier-v7-u-boot.dtsi | 16 ---------------- drivers/clk/uniphier/Kconfig | 1 - drivers/mmc/renesas-sdhi.c | 23 +++++++++++++++++++++++ drivers/mmc/tmio-common.c | 22 ---------------------- drivers/mmc/uniphier-sd.c | 29 +++++++++++++++++++++++++++++ 5 files changed, 52 insertions(+), 39 deletions(-)