From patchwork Tue Jun 23 21:39:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 487800 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 5C72114012C for ; Wed, 24 Jun 2015 07:44:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=MNkkzUgH; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CA7EB4B82B; Tue, 23 Jun 2015 23:42:51 +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 d0tbDkF41UOE; Tue, 23 Jun 2015 23:42:51 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 19E814B708; Tue, 23 Jun 2015 23:41:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0BC3C4B67C for ; Tue, 23 Jun 2015 23:40:20 +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 fFxdLkygOUp5 for ; Tue, 23 Jun 2015 23:40:19 +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 mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by theia.denx.de (Postfix) with ESMTPS id 0F8E04A01C for ; Tue, 23 Jun 2015 23:40:02 +0200 (CEST) Received: by iebrt9 with SMTP id rt9so21078453ieb.2 for ; Tue, 23 Jun 2015 14:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zlpyGLcY/aDDOka3XEVPj6p66gxfsHzyvaVcpEbvLj0=; b=MNkkzUgHN9Jl+rK8WrdD396FMgRMONL8+pX0pbmBc5oTpbdcbJprJx2WJpavfaBUtK x26FfW9wVvq9e86Ay83HBIXePMLH/wNdffcFa3dvZb8DdDnYHJ5WBfAwLyEE5agoWnZT CjwvKhlOI8Mowg3dYih9Hrro1lDbSQvYqfpy+Fz/uUDHxsB9n5an8HGCA+OHMR53gQsT /4r0cCsxMfOAE0a61MZ57sTbyjzO5r85XSp/3wSEkA8u2JMjg5QB+Yk7SA/MvHQg7/7N LpnS28cQEDPAj7EaPQ6UP378R1sC4o5yUxOe1s/ZUX8xV1yVzwd2fQYVi/V1K6DygIrm tAmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=zlpyGLcY/aDDOka3XEVPj6p66gxfsHzyvaVcpEbvLj0=; b=fX7yKJBU9VEMk9AmjAHMJaeuN8b/rgQjaNaVWLa2MFq20xGM/Ak4NL1AEPADQ8o6ON tG8lGnYfY5bF0w/wJ8XC57ROX3DdCNWonmXl1arC0SaNXh26iGhrnNqrXaJM3z8evPw/ yb47utTG440bETnT72cEdTe4QRE/LKjMSDulDpfDFvUn1S3Qi2oZF9+QTOMDMKfYvBXS x7GSp1zAGt3h6qllCibtu+ibWCl2J1MJ3OvIOMTYGajFAy3N4HtOGJVZdUymTrk+aeHR ggCzmmyj4d/vbunHSd08LP6n3LQkdCxCefdLLEa5bFSE6h1+uAhplRxtlrcuCTHJBLPL IeVg== X-Gm-Message-State: ALoCoQnanveEUYqjSzVpZLoWDTVXT4I6bHzHky21qlw8v2bDWJZOJP+t7LC+JyVbSlJ4HRp6j8Bs X-Received: by 10.42.99.70 with SMTP id v6mr33013170icn.1.1435095601785; Tue, 23 Jun 2015 14:40:01 -0700 (PDT) Received: from kaki.bld.corp.google.com ([2620:0:1005:1100:29dc:b646:97d0:4c6e]) by mx.google.com with ESMTPSA id b74sm15916986ioe.6.2015.06.23.14.39.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 14:40:00 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 04E6522210B; Tue, 23 Jun 2015 15:39:52 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Tue, 23 Jun 2015 15:39:03 -0600 Message-Id: <1435095556-15924-42-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.4.3.573.g4eafbef In-Reply-To: <1435095556-15924-1-git-send-email-sjg@chromium.org> References: <1435095556-15924-1-git-send-email-sjg@chromium.org> Cc: Tom Rini , Przemyslaw Marczak Subject: [U-Boot] [PATCH v3 41/54] Drop CONFIG_ERRNO_STR from SPL X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 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" This bloats the code size quite a bit and is less useful in SPL where there is no command line. Avoid including this code in SPL. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index ca72187..1139f9b 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -23,6 +23,7 @@ obj-$(CONFIG_USB_TTY) += circbuf.o obj-y += crc7.o obj-y += crc8.o obj-y += crc16.o +obj-$(CONFIG_ERRNO_STR) += errno_str.o obj-$(CONFIG_FIT) += fdtdec_common.o obj-$(CONFIG_OF_CONTROL) += fdtdec_common.o obj-$(CONFIG_OF_CONTROL) += fdtdec.o @@ -59,7 +60,6 @@ endif obj-$(CONFIG_ADDR_MAP) += addr_map.o obj-y += hashtable.o obj-y += errno.o -obj-$(CONFIG_ERRNO_STR) += errno_str.o obj-y += display_options.o obj-$(CONFIG_BCH) += bch.o obj-y += crc32.o