From patchwork Sun Aug 30 17:31:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 52869 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 6F6CB2127E for ; Sun, 30 Aug 2015 17:31:36 +0000 (UTC) Received: by lbcue2 with SMTP id ue2sf31323030lbc.1 for ; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=QrGmXX4FpqqrddQ9DKs2ADXSCwD55IJNOTpLdWXcn2A=; b=YS7AYt8GVMN40HIYFUgiq5uZxgWP/sz21eP1iVpyKGKAE9yXfmWGDhevFlsKtQiDUT CbrNPalVr7OYX6rUA5HL4oe51Fk1nudsTV3yGXJzGB3dilOfTqLgSjwSyOCLHdpMfRvz EV08OZyyA3TEybI4u0/UGyWI0zrm2ouQv05JHoJpnxmDaZOCw8PlwudNxbBz4pmpMBv5 XtOr6Zx0rlCQHmGjGRhDTfCR9jEt7Fd1051N3dDCaRwcKC4OyEFGDltBw93m3Ki/CD4v o38PgAtH0yDmNeCXZZhljVC9vwIenUiAXviLY6O2eSRvquQ+KDq71PrLMiw42KV99Kf+ dlUw== X-Gm-Message-State: ALoCoQlNTyKhdkGWHt7yyIdNWe9fGQ5ve20GHbhs2dcojGZ+t4rTpsxR0jWhd5DBYK73KmHORuut X-Received: by 10.112.140.195 with SMTP id ri3mr5239200lbb.22.1440955895405; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.225 with SMTP id o1ls397871lag.36.gmail; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) X-Received: by 10.152.23.234 with SMTP id p10mr8535098laf.52.1440955895141; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id kg7si11259623lbc.176.2015.08.30.10.31.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Aug 2015 10:31:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by laboe4 with SMTP id oe4so32515238lab.0 for ; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) X-Received: by 10.112.63.138 with SMTP id g10mr8820591lbs.106.1440955895031; Sun, 30 Aug 2015 10:31:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.151.194 with SMTP id us2csp1167653lbb; Sun, 30 Aug 2015 10:31:34 -0700 (PDT) X-Received: by 10.180.108.210 with SMTP id hm18mr15080720wib.45.1440955894402; Sun, 30 Aug 2015 10:31:34 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id es3si16862582wib.114.2015.08.30.10.31.33; Sun, 30 Aug 2015 10:31:34 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 5CF204B6B5; Sun, 30 Aug 2015 19:31:31 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hebfWQxFJ0GB; Sun, 30 Aug 2015 19:31:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B68E74B694; Sun, 30 Aug 2015 19:31:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 494324B691 for ; Sun, 30 Aug 2015 19:31:21 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TUnoO-yFgRcZ for ; Sun, 30 Aug 2015 19:31:21 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [93.93.135.160]) by theia.denx.de (Postfix) with ESMTPS id 11C964B681 for ; Sun, 30 Aug 2015 19:31:18 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 66AF15188056 Received: by dusk.luon.net (Postfix, from userid 1000) id C44722808D; Sun, 30 Aug 2015 19:31:14 +0200 (CEST) From: Sjoerd Simons To: u-boot@lists.denx.de, Simon Glass Date: Sun, 30 Aug 2015 19:31:10 +0200 Message-Id: <1440955874-25809-5-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.5.1 In-Reply-To: <1440955874-25809-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1440955874-25809-1-git-send-email-sjoerd.simons@collabora.co.uk> Cc: Tom Rini Subject: [U-Boot] [PATCH v2 4/8] rockchip: Turn off CONFIG_SPL_LED_SUPPORT for firefly X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sjoerd.simons@collabora.co.uk X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 With LED support enabled the SPL easily goes over the size limit (e.g. with both Debians gcc 4.9 and 5.2 cross-compilers). Turn off LED support in the SPL to reduce the size just enough for those compilers. Signed-off-by: Sjoerd Simons Acked-by: Simon Glass --- Changes in v2: - Also drop CONFIG_SPL_LED from the firefly defconfig configs/firefly-rk3288_defconfig | 1 - include/configs/firefly-rk3288.h | 1 - 2 files changed, 2 deletions(-) diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index 4c41ae3..03fe715 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -17,7 +17,6 @@ CONFIG_REGMAP=y CONFIG_SYSCON=y CONFIG_RESET=y CONFIG_LED=y -CONFIG_SPL_LED=y CONFIG_LED_GPIO=y CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART_BASE=0xff690000 diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h index 82e7c9c..a82adc8 100644 --- a/include/configs/firefly-rk3288.h +++ b/include/configs/firefly-rk3288.h @@ -10,6 +10,5 @@ #include #define CONFIG_SPL_MMC_SUPPORT -#define CONFIG_SPL_LED_SUPPORT #endif