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: 133857 Delivered-To: patch@linaro.org Received: by 10.46.66.142 with SMTP id h14csp42749ljf; Fri, 20 Apr 2018 02:15:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+WpQtA8YbC19AjbWbCtVNAzBktpzXd6bpMnWk4lKxIIAZ0BbnN/2eqAxk59y9IDPQvX+f1 X-Received: by 10.80.167.4 with SMTP id h4mr12967372edc.239.1524215709590; Fri, 20 Apr 2018 02:15:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524215709; cv=none; d=google.com; s=arc-20160816; b=aJbRVtO3mqkH29llsplDWnytNED2P9Zn+Bm03+7uF2U3gppyRtIyZmKHmKjnV1+D5F +B1cxEr+baaIOkT3nafb0CLsLN5822B8Zegj6DFT+piTwx/EsmU02SM0OdGotnmesbe0 O3Pj9mrgStRrZeoGRNs1VLqSvTYSip0Cbd2D2p7N5LF7txy1ddFVV2//4zz2EWH/QqOt nSJ8ipuOIUKm6nXqYDkR3cD4Iv8rmYvuOfUutQxgu9G17yHqed5tD3HrRlUsojFKdsYy AZjMc1ouYKv8U2EwTxPIbdWFYqh5N7llhVs+nGvIcnVCYu6syYvW6cJxYT6LINFP/OVf fWWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :dkim-filter:arc-authentication-results; bh=o6XW/54aq98RCopggiX0GyF8afy0GtBhcuJeXkXuGqI=; b=TRChNXziLw5cxlT52RV9cysSansw/suydPEUkMOXWYLAmK2N5jgNArfR+8u34TlPze aSIUsuS7J8JUBWHORcz8b/tpOaoFff8uLFgeDYBtLWsxWktwFyS9G9iJZulcmdaASzk/ DLioj6hXEUip2/3KIFIPOmbTszGTLsfnfgiI/xuYGeULIYR6C6wfJtMNlCDIJ9H+g6Pm /rt8rYDGBBZBU8XyzL6OSHFEt/YocCVU2VCgWcHKO5iqdKpJmTU1YfWIj5NSYySK3U8S 1goECU+lOjJv6Vzj+MlOxiwP1dMPNPeO3B4UQYF3E0zUZrv+BUrvwMY6bp/38+7KgSiy W4hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=POyGQKHQ; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id f22si4126265eda.4.2018.04.20.02.15.09; Fri, 20 Apr 2018 02:15:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=POyGQKHQ; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 31ED7C22057; 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(-)