From patchwork Thu Dec 12 00:47:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1208042 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="BxqzY2RW"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47YFXy37L7z9sRf for ; Thu, 12 Dec 2019 11:48:50 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED2D6814ED; Thu, 12 Dec 2019 01:48:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="BxqzY2RW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 23DC7814AD; Thu, 12 Dec 2019 01:48:14 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DCC30814AC for ; Thu, 12 Dec 2019 01:48:09 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd44.google.com with SMTP id x1so833634iop.7 for ; Wed, 11 Dec 2019 16:48:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=didJYPvAFTznMlgIFy9lpciFOCEqeeh9sMqLJ6HwM9A=; b=BxqzY2RWI5GgqdJ+bzKi8y4oll42ruaazmNV4gp80jfbc0nYNcUs9lu0yIOidgM4m+ AMwqL9zIISs2I0Wo31AWq3NLkvbarvRTdx5uSlDqA2HgyJdAJwY03L+tGKJSe6gJvd2N ZfRtIDQHApOfh710aDfBjp9zz6130NZIPd5Zs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=didJYPvAFTznMlgIFy9lpciFOCEqeeh9sMqLJ6HwM9A=; b=RK8fexuzQ5K8my6zrxniqNDjoOHtYXT0WVXU1zWS6nzdrnDx57kJE26z/sPdL61VLB aiLiLzMQ3o9Sd7MVgm1/1D7ZwxFWllsJuVHiPxs3h34p/voptYmyF8uHNc18RPHZVD8O yN4xYq4fwN+6PCdpZJtP/3PhWvBFjgrIgQnnTJl/55Q5GT0/GkJ/ExBMagYc1I5hwBrq gI4Hybmu78aNo3zlj2qUUOkERFHFg7ziY2OBazGLP/RfUKWr4vEMILbvXxQKio+80hgX kwnICGGlh4Pogssw++u5k4iHg0DQb3fStaN6bOgMF/riVQAXtqQP2XQzimyIAHAi1YMS 9hYA== X-Gm-Message-State: APjAAAUWt25vIo2VWeZkfkTjN2d/UqsErOZgCYG3RCcOIg62zloDsPAM NmST0uOC3vom/fsL2pknY4JJLdGgs5Y= X-Google-Smtp-Source: APXvYqy9mt4tmoJ81Ycm80dSflveqv1Ijd4nu23SZDMG2/t0oL2YLFM5jYrNV0u2CWMo7hrnNIPa5w== X-Received: by 2002:a6b:3b54:: with SMTP id i81mr905615ioa.249.1576111688641; Wed, 11 Dec 2019 16:48:08 -0800 (PST) Received: from kiwi.bld.corp.google.com ([2620:15c:183:0:8223:87c:a681:66aa]) by smtp.gmail.com with ESMTPSA id a11sm880194ioc.86.2019.12.11.16.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 16:48:08 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Subject: [PATCH 05/35] common: Move embedded fdt location to fdtdec.h Date: Wed, 11 Dec 2019 17:47:24 -0700 Message-Id: <20191212004755.11091-5-sjg@chromium.org> X-Mailer: git-send-email 2.24.0.525.g8f36a354ae-goog In-Reply-To: <20191212004755.11091-2-sjg@chromium.org> References: <20191212004755.11091-2-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joe Hershberger , Tom Rini , Boris Brezillon Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean These declarations are only used in fdtdec.c so move them to its header file. Signed-off-by: Simon Glass --- include/common.h | 3 --- include/fdtdec.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/common.h b/include/common.h index 4f3536f299..fe10f06819 100644 --- a/include/common.h +++ b/include/common.h @@ -64,9 +64,6 @@ void hang (void) __attribute__ ((noreturn)); #include -extern u8 __dtb_dt_begin[]; /* embedded device tree blob */ -extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */ - /** * arch_fixup_fdt() - Write arch-specific information to fdt * diff --git a/include/fdtdec.h b/include/fdtdec.h index 696e0fd024..c8a143db5f 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -111,6 +111,9 @@ struct fdt_pci_addr { u32 phys_lo; }; +extern u8 __dtb_dt_begin[]; /* embedded device tree blob */ +extern u8 __dtb_dt_spl_begin[]; /* embedded device tree blob for SPL/TPL */ + /** * Compute the size of a resource. *