From patchwork Mon Nov 9 09:45:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 541670 X-Patchwork-Delegate: trini@ti.com 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 4C9B61402C8 for ; Mon, 9 Nov 2015 20:45:30 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr_eu.20150623.gappssmtp.com header.i=@monstr_eu.20150623.gappssmtp.com header.b=UHuCh6Ge; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AF9AF4BBCB; Mon, 9 Nov 2015 10:45:28 +0100 (CET) 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 8pq2Mpd1ah5d; Mon, 9 Nov 2015 10:45:28 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 794124BBF8; Mon, 9 Nov 2015 10:45:27 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 15B3E4BBF8 for ; Mon, 9 Nov 2015 10:45:14 +0100 (CET) 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 24zMzfLxK6Uf for ; Mon, 9 Nov 2015 10:45:13 +0100 (CET) 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-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by theia.denx.de (Postfix) with ESMTPS id 5F66D4BBCB for ; Mon, 9 Nov 2015 10:45:09 +0100 (CET) Received: by wmww144 with SMTP id w144so69575923wmw.1 for ; Mon, 09 Nov 2015 01:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr_eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=t0JnkD9HHjXRwB75aXL8O5mzheZgrMLTtRXKqmAaOXM=; b=UHuCh6Ge64Z+XzGBhz4yeSFqjzXKCp5dvQiobT5Xqksd5iKLA9hIOFPBaiDe2b1Loh sHKhSXSdljbdDfdK+jmDa6CLdXh5q7frNHV3WE8ffd/Vtr6jc2frSUdg4VNsu0MtZjTq dca9xnV1reVp5SgcUz8yIWqpWMx9shugT3NOBEa1E0056YAOgRpkr06w5P12zA+7HjoT SXbg/i/qzkCv25eF7QhxC1o80K7OF7IhKX++GYLigIllxHwAe138x4o0ppdImhqMxQCn ap9bNWlRHDiL7tFqGco7QEivAYGI2f55K2I5FgjOKIgEgQrODMDayRn9+QeoDFgd40aX F6vQ== 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; bh=t0JnkD9HHjXRwB75aXL8O5mzheZgrMLTtRXKqmAaOXM=; b=IqzVDsioSsxKybGWMtcf4Z4wSFcRVxdvrVozscQAZ9zKLjA1CfV+V60qBtePR23Wmz CUdbUuxXJe4CA+9KZe+TcimkXR0OnDjIbZySkyDnmVMx4wN2rbFzk1HZhP90ng6UAvzI dCsEnKFZEqv+vbnR3yLNcq2sxj76HJ7AUDx0BcDNWsMoJKF7q2Zwk2aIFs4IGOrgs1kM oQvCMEymSl+5vq1v0WFoFTl56vFwgwWkGW47WKwFFEu7d0HvgMNcVQ8gsrJyVglSuhkD 7Pysc+65J6gzC11lHn1879qngzuPQrpGYF04pa7pxtVfsK5kCUDjzwcDDhBS1hhGuKqj F8+g== X-Gm-Message-State: ALoCoQl2UPU+O8Q6OY1tnWF+phNh44QtkEJDdiZ8cDZUkCOIxXNIOWvPEcYqcT9Uewdcrm3l3P33 X-Received: by 10.28.138.194 with SMTP id m185mr23111526wmd.92.1447062309485; Mon, 09 Nov 2015 01:45:09 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id bk2sm14469045wjc.3.2015.11.09.01.45.08 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Mon, 09 Nov 2015 01:45:08 -0800 (PST) From: Michal Simek To: u-boot@lists.denx.de Date: Mon, 9 Nov 2015 10:45:07 +0100 Message-Id: X-Mailer: git-send-email 2.5.0 Cc: Marek Vasut , Tom Rini , Stefan Roese Subject: [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y 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" CONFIG_OF_EMBED=y is the option which is here only for testing purpose and shouldn't be enabled by default as is describe at: "dts: Add a comment about CONFIG_OF_EMBED being for local use" (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c) But still enabling this option locally shouldn't end up with compilation error when you build SPL. This patch fix it. Compilation error: lib/built-in.o: In function `fdtdec_setup': /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to `__dtb_dt_begin' Signed-off-by: Michal Simek Reported-by: Tom Rini Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- scripts/Makefile.spl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index dd235b9d7ad6..8f690eb70c47 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -56,6 +56,7 @@ libs-y += common/init/ libs-$(CONFIG_SPL_LIBCOMMON_SUPPORT) += common/ libs-$(CONFIG_SPL_LIBDISK_SUPPORT) += disk/ libs-y += drivers/ +libs-y += dts/ libs-y += fs/ libs-$(CONFIG_SPL_LIBGENERIC_SUPPORT) += lib/ libs-$(CONFIG_SPL_POST_MEM_SUPPORT) += post/drivers/