From patchwork Sun Oct 18 01:41:18 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 531908 X-Patchwork-Delegate: monstr@monstr.eu 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 3396A1402D5 for ; Sun, 18 Oct 2015 12:42:18 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=LCdmtVTi; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 88C1D4B6E8; Sun, 18 Oct 2015 03:42:12 +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 buO83o4m_2b9; Sun, 18 Oct 2015 03:42:12 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7A3074B6EB; Sun, 18 Oct 2015 03:41:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 912284B693 for ; Sun, 18 Oct 2015 03:41:39 +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 OzJKHmfFNMUg for ; Sun, 18 Oct 2015 03:41:39 +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-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by theia.denx.de (Postfix) with ESMTPS id 38F464B692 for ; Sun, 18 Oct 2015 03:41:36 +0200 (CEST) Received: by ioii196 with SMTP id i196so157465768ioi.3 for ; Sat, 17 Oct 2015 18:41:34 -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=OLZhWd8Zq3Qz5TtJkq9RwUrvFwhaT9yY9cD6wfaQH0U=; b=LCdmtVTiskhYXrrboBFGsvAhFJwGti7OYSbsffz3zRJaHw769bCOJGuiZt3B8qtdXe ZKY4nTR6r++4fuzvsaabiGZVZOWc3qHiFmtP66NJ8+69xlxkMLgl6D0SXtk1GKJICvIO WhI2t8SJzrDBw30hg4Qdwyo2Yyb792xpMyixBlq1n2Djabz1tqKfsQ0awvivrzbyJFpQ kN6Mrr07Wgh8pmtUfPdiYiOXqokWUSZLU3onH5hD1f7I26QOuVY1rtarG6tLqO9Rm3sT +Pqos66Z4XCBRC2eZ2s9I3FHcHeFedMtpm/Ed1WKtvikSQe+nCNgVXiHatxUE9FQ4BpJ pxww== 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=OLZhWd8Zq3Qz5TtJkq9RwUrvFwhaT9yY9cD6wfaQH0U=; b=UidWGCaV5uLNjVjkUTUTPjX4Tl8XQUSRmEYcK0llTn8JMdE4oVoc2GOI3gGC8B+goO ryK1ywxrReeFwLVvM0X1ZB87KBvgmfzHRTwHjY3O3e+XA6uuns8Vz7H2KVzQ4A6O51Ac VcCfffV1eRR9wxAV/Sls6MrCWU1jCTw0TwF/kpYn4rA0bXFS4/AKFh+vSIy+MFGr3V66 kciNxzR7LUN0y/4npAH+6sU0IHuf6uLscS4otvzjr0WrWbDTPzTJFt9/dMJBE5id+RDL ezj6shgz/GpYz+4ong745PW4VcgViBlGZvftjWEzp+05b5dShe1Oehgnvi+LkIgaTRDb HH+Q== X-Gm-Message-State: ALoCoQlotcS75kmKsu51Fhwv+/qX0os73vipB371ia27RYOhGKOuw88BJZJ1Q0PrbPgKJEa5Z+cN X-Received: by 10.107.14.14 with SMTP id 14mr25164332ioo.6.1445132494753; Sat, 17 Oct 2015 18:41:34 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by smtp.gmail.com with ESMTPSA id hz3sm5271977igb.19.2015.10.17.18.41.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Oct 2015 18:41:33 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 1F5AE221B57; Sat, 17 Oct 2015 19:41:32 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Sat, 17 Oct 2015 19:41:18 -0600 Message-Id: <1445132487-13172-6-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.6.0.rc2.230.g3dd15c0 In-Reply-To: <1445132487-13172-1-git-send-email-sjg@chromium.org> References: <1445132487-13172-1-git-send-email-sjg@chromium.org> Subject: [U-Boot] [PATCH v2 05/14] dm: spl: Generate u-boot-spl-dtb.bin only when enabled 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" At present this file is generated even when device tree is not enabled in SPL. Avoid this, since this file serves no purpose in that case. Signed-off-by: Simon Glass --- Changes in v2: None scripts/Makefile.spl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 2df93c8..dd235b9 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -129,7 +129,9 @@ boot.bin: $(obj)/u-boot-spl.bin ALL-y += $(obj)/$(SPL_BIN).bin $(obj)/$(SPL_BIN).cfg +ifdef CONFIG_SPL_OF_CONTROL ALL-$(CONFIG_OF_SEPARATE) += $(obj)/$(SPL_BIN)-pad.bin $(obj)/$(SPL_BIN)-dtb.bin +endif ifdef CONFIG_SAMSUNG ALL-y += $(obj)/$(BOARD)-spl.bin