From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CBD2C433F5 for ; Tue, 26 Oct 2021 00:25:34 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A132B60F0F for ; Tue, 26 Oct 2021 00:25:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A132B60F0F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E5F6A8359C; Tue, 26 Oct 2021 02:25:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="RlpT+tzQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2E178833B1; Tue, 26 Oct 2021 02:24:20 +0200 (CEST) Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 5AB2783521 for ; Tue, 26 Oct 2021 02:24:05 +0200 (CEST) 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-oi1-x234.google.com with SMTP id r6so18029974oiw.2 for ; Mon, 25 Oct 2021 17:24:05 -0700 (PDT) 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=NGlKxHXlxtlGWw7vlwT5ej8nl7oSDR2HhMd88bTEJZU=; b=RlpT+tzQUh1koCvRtyZRIWPvyclucULY/LWoaDDDHjadQR+eULeHerYi8JBC0fS0UL BmQbg7s5x3n89SFT9fUniV09SaJmRMQbIpvBIs46FVgaE7Hs/k2YCKHSl37GpwzndQTM +tR/cRfsRCLxRmAh4okp7uPXzibdEHvwZsbrs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NGlKxHXlxtlGWw7vlwT5ej8nl7oSDR2HhMd88bTEJZU=; b=qgQcDit6IUxtpbFKYSr7MG/ICfFTIJpVpVmatiBgEPKsO1gqCgKu/y4HliNTSvqPQ0 p+Jp1uZGEnyHrtGjGRAqtnwXNCifzS92ejHPsiRHyZ3wbbJZzLdOVJ6HseZi1rU+TnM8 2reygglVkaPwJDMTozYNTd92cD1+88U81Pj9ZNbdTXjBrkDFueq2WWkFUz5iAztmTZIE 6F7x2YYe+fesGdtGrlAOZ3RZ/yYKFCuRgteB2gok7qGCfj+lK0ZjeDlkEgTyaqbe9Maw 4hrm23bhLH7NXSUoSwjmtrD/gkEco6JXEnDhDoZ8tiGVIX1VxxZLqPXRLK/VHss9PBEZ 0rsw== X-Gm-Message-State: AOAM531/RcYvV0M8SyYWTS1NQH7aAaYwJwJRvTh5ujXjXatq5equiM1t elA1MBl1+4vyyYwLslCVkzM2UkwYdcA= X-Google-Smtp-Source: ABdhPJxJX3UgCW6qGN61ggJCTOydM7WRcEFKfABKQMBTzk9Liv82nqV0cufZ7ICEBdyoT9VjJ4qUWw== X-Received: by 2002:a05:6808:10cc:: with SMTP id s12mr15762047ois.164.1635207843774; Mon, 25 Oct 2021 17:24:03 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id v24sm3331926oou.45.2021.10.25.17.24.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Oct 2021 17:24:03 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mark Kettenis , Heinrich Schuchardt , Ilias Apalodimas , Tom Rini , Sean Anderson , Simon Glass , Albert Aribaud , Anastasiia Lukianenko , Oleksandr Andrushchenko Subject: [PATCH v5 10/26] arm: xenguest_arm64: Add a fake devicetree file Date: Mon, 25 Oct 2021 18:23:28 -0600 Message-Id: <20211026002344.405160-11-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.1079.g6e70778dc9-goog In-Reply-To: <20211026002344.405160-1-sjg@chromium.org> References: <20211026002344.405160-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Add an empty file to prevent build errors when building with CONFIG_OF_SEPARATE enabled. The build instructions in U-Boot do not provide enough detail to build a useful devicetree, unfortunately. Signed-off-by: Simon Glass --- (no changes since v1) arch/arm/dts/Makefile | 2 ++ arch/arm/dts/xenguest-arm64.dts | 15 +++++++++++++++ configs/xenguest_arm64_defconfig | 1 + 3 files changed, 18 insertions(+) create mode 100644 arch/arm/dts/xenguest-arm64.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 0be50ecd9c8..a9c76bcf0a9 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1131,6 +1131,8 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \ mt8516-pumpkin.dtb \ mt8518-ap1-emmc.dtb +dtb-$(CONFIG_XEN) += xenguest-arm64.dtb + dtb-$(CONFIG_TARGET_GE_BX50V3) += \ imx6q-bx50v3.dtb \ imx6q-b850v3.dtb \ diff --git a/arch/arm/dts/xenguest-arm64.dts b/arch/arm/dts/xenguest-arm64.dts new file mode 100644 index 00000000000..52d3b062248 --- /dev/null +++ b/arch/arm/dts/xenguest-arm64.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Dummy devicetre file for xenguest_arm64 + * + * This is required to make the board build with CONFIG OF_SEPARATE + * Build instructions at xenguest_arm64.rst are inadequate for obtaining a real + * devicetree. + * + * Copyright 2021 Google LLC + */ + +/dts-v1/; + +/ { +}; diff --git a/configs/xenguest_arm64_defconfig b/configs/xenguest_arm64_defconfig index b72e40a1399..8e32cd63229 100644 --- a/configs/xenguest_arm64_defconfig +++ b/configs/xenguest_arm64_defconfig @@ -4,6 +4,7 @@ CONFIG_TARGET_XENGUEST_ARM64=y CONFIG_SYS_TEXT_BASE=0x40080000 CONFIG_SYS_MALLOC_F_LEN=0x2000 CONFIG_SYS_MALLOC_LEN=0x2000000 +CONFIG_DEFAULT_DEVICE_TREE="xenguest-arm64" CONFIG_IDENT_STRING=" xenguest" CONFIG_SYS_LOAD_ADDR=0x40000000 CONFIG_BOOTDELAY=10 -- 2.33.0.1079.g6e70778dc9-goog