All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: U-Boot Mailing List <u-boot@lists.denx.de>
Cc: Tom Rini <trini@konsulko.com>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Simon Glass <sjg@chromium.org>,
	Aaron Williams <awilliams@marvell.com>,
	Albert Aribaud <albert.u.boot@aribaud.net>,
	Andre Przywara <andre.przywara@arm.com>,
	Christian Hewitt <christianshewitt@gmail.com>,
	Fabio Estevam <festevam@gmail.com>, Heiko Schocher <hs@denx.de>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Kever Yang <kever.yang@rock-chips.com>,
	Neil Armstrong <narmstrong@baylibre.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Rick Chen <rick@andestech.com>, Sean Anderson <seanga2@gmail.com>,
	Stefan Roese <sr@denx.de>, Tero Kristo <kristo@kernel.org>,
	Tim Harvey <tharvey@gateworks.com>
Subject: [PATCH 10/16] arm: octeontx: Add a fake devicetree file
Date: Tue, 12 Oct 2021 19:01:14 -0600	[thread overview]
Message-ID: <20211013010120.96851-11-sjg@chromium.org> (raw)
In-Reply-To: <20211013010120.96851-1-sjg@chromium.org>

Add an empty file to prevent build errors when building with
CONFIG_OF_SEPARATE enabled.

Unfortunately there are no build instructions in the U-Boot tree to enable
a real file to be created.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 arch/arm/dts/Makefile            |  3 +++
 arch/arm/dts/octeontx.dts        | 14 ++++++++++++++
 configs/octeontx2_95xx_defconfig |  1 +
 configs/octeontx2_96xx_defconfig |  1 +
 configs/octeontx_81xx_defconfig  |  1 +
 configs/octeontx_83xx_defconfig  |  1 +
 6 files changed, 21 insertions(+)
 create mode 100644 arch/arm/dts/octeontx.dts

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index f09a81eea8e..0fec648dd77 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1127,6 +1127,9 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
 
 dtb-$(CONFIG_XEN) += xenguest-arm64.dtb
 
+dtb-$(CONFIG_ARCH_OCTEONTX) += octeontx.dtb
+dtb-$(CONFIG_ARCH_OCTEONTX2) += octeontx.dtb
+
 dtb-$(CONFIG_TARGET_GE_BX50V3) += \
 	imx6q-bx50v3.dtb \
 	imx6q-b850v3.dtb \
diff --git a/arch/arm/dts/octeontx.dts b/arch/arm/dts/octeontx.dts
new file mode 100644
index 00000000000..60a15f5df23
--- /dev/null
+++ b/arch/arm/dts/octeontx.dts
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Dummy devicetre file for octeontx2 boards
+ *
+ * This is required to make the board build with CONFIG OF_SEPARATE
+ * I could not find any in-tree documentation at all so this is a dummy file.
+ *
+ * Copyright 2021 Google LLC
+ */
+
+/dts-v1/;
+
+/ {
+};
diff --git a/configs/octeontx2_95xx_defconfig b/configs/octeontx2_95xx_defconfig
index 6d8457f1d07..fac4c50aec4 100644
--- a/configs/octeontx2_95xx_defconfig
+++ b/configs/octeontx2_95xx_defconfig
@@ -12,6 +12,7 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_TARGET_OCTEONTX2_95XX=y
 CONFIG_SYS_MALLOC_LEN=0x4008000
 CONFIG_DM_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="octeontx"
 CONFIG_DEBUG_UART_BASE=0x87e028000000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
diff --git a/configs/octeontx2_96xx_defconfig b/configs/octeontx2_96xx_defconfig
index b72caef77d8..db883b5542c 100644
--- a/configs/octeontx2_96xx_defconfig
+++ b/configs/octeontx2_96xx_defconfig
@@ -10,6 +10,7 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_TARGET_OCTEONTX2_96XX=y
 CONFIG_SYS_MALLOC_LEN=0x4008000
 CONFIG_DM_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="octeontx"
 CONFIG_DEBUG_UART_BASE=0x87e028000000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
diff --git a/configs/octeontx_81xx_defconfig b/configs/octeontx_81xx_defconfig
index 52678d59ff1..8309c29c091 100644
--- a/configs/octeontx_81xx_defconfig
+++ b/configs/octeontx_81xx_defconfig
@@ -12,6 +12,7 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_TARGET_OCTEONTX_81XX=y
 CONFIG_SYS_MALLOC_LEN=0x4008000
 CONFIG_DM_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="octeontx"
 CONFIG_DEBUG_UART_BASE=0x87e028000000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
diff --git a/configs/octeontx_83xx_defconfig b/configs/octeontx_83xx_defconfig
index 3890c1e97d4..dae1d4880f8 100644
--- a/configs/octeontx_83xx_defconfig
+++ b/configs/octeontx_83xx_defconfig
@@ -10,6 +10,7 @@ CONFIG_ENV_SECT_SIZE=0x10000
 CONFIG_TARGET_OCTEONTX_83XX=y
 CONFIG_SYS_MALLOC_LEN=0x4008000
 CONFIG_DM_GPIO=y
+CONFIG_DEFAULT_DEVICE_TREE="octeontx"
 CONFIG_DEBUG_UART_BASE=0x87e028000000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_DEBUG_UART=y
-- 
2.33.0.882.g93a45727a2-goog


  parent reply	other threads:[~2021-10-13  1:04 UTC|newest]

Thread overview: 164+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-13  1:01 [PATCH 00/16] fdt: Make OF_BOARD a boolean option Simon Glass
2021-10-13  1:01 ` Simon Glass
2021-10-13  1:01 ` [PATCH 01/16] arm: qemu: Mention -nographic in the docs Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  1:01 ` [PATCH 02/16] arm: qemu: Explain how to extract the generate devicetree Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  1:19   ` François Ozog
2021-10-13  1:19     ` François Ozog
2021-10-13 16:58     ` Simon Glass
2021-10-13 16:58       ` Simon Glass
2021-10-13 17:36       ` Tom Rini
2021-10-13 17:36         ` Tom Rini
2021-10-13  1:01 ` [PATCH 03/16] riscv: " Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  1:01 ` [PATCH 04/16] arm: qemu: Add a devicetree file for qemu_arm Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  1:01 ` [PATCH 05/16] arm: qemu: Add a devicetree file for qemu_arm64 Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  1:15   ` François Ozog
2021-10-13  1:15     ` François Ozog
2021-10-27 14:44     ` Alex Bennée
2021-10-27 14:44       ` Alex Bennée
2021-10-27 14:56       ` Tom Rini
2021-10-27 14:56         ` Tom Rini
2021-10-27 18:34         ` Simon Glass
2021-10-27 18:34           ` Simon Glass
2021-10-27 18:39           ` Tom Rini
2021-10-27 18:39             ` Tom Rini
2021-10-27 19:45             ` Alex Bennée
2021-10-27 19:45               ` Alex Bennée
2021-10-13  1:01 ` [PATCH 06/16] riscv: qemu: Add devicetree files for qemu_riscv32/64 Simon Glass
2021-10-13  1:01   ` Simon Glass
2021-10-13  4:21   ` Heinrich Schuchardt
2021-10-13  4:21     ` Heinrich Schuchardt
2021-10-13  1:01 ` [PATCH 07/16] arm: rpi: Add a devicetree file for rpi_4 Simon Glass
2021-10-13  1:24   ` François Ozog
2021-10-13  1:01 ` [PATCH 08/16] arm: vexpress: Add a devicetree file for juno Simon Glass
2021-10-13  1:01 ` [PATCH 09/16] arm: xenguest_arm64: Add a fake devicetree file Simon Glass
2021-10-13  1:01 ` Simon Glass [this message]
2021-10-13  1:27   ` [PATCH 10/16] arm: octeontx: " François Ozog
2021-10-13  1:01 ` [PATCH 11/16] arm: xilinx_versal_virt: Add a " Simon Glass
2021-10-13  6:13   ` Michal Simek
2021-10-13 16:58     ` Simon Glass
2021-10-13  1:01 ` [PATCH 12/16] arm: bcm7xxx: " Simon Glass
2021-10-13  1:01 ` [PATCH 13/16] arm: qemu-ppce500: " Simon Glass
2021-10-13  1:01 ` [PATCH 14/16] arm: highbank: Add a fake " Simon Glass
2021-10-13  1:01 ` [PATCH 15/16] fdt: Make OF_BOARD a bool option Simon Glass
2021-10-13  4:22   ` Heinrich Schuchardt
2021-10-13 16:58     ` Simon Glass
2021-10-13 17:30       ` Sean Anderson
2021-10-24 19:53         ` Simon Glass
2021-10-13  1:01 ` [PATCH 16/16] Drop CONFIG_BINMAN_STANDALONE_FDT Simon Glass
2021-10-13  1:29 ` [PATCH 00/16] fdt: Make OF_BOARD a boolean option Bin Meng
2021-10-13  1:29   ` Bin Meng
2021-10-13  1:34   ` Tom Rini
2021-10-13  1:34     ` Tom Rini
2021-10-13  8:02     ` François Ozog
2021-10-13  8:02       ` François Ozog
2021-10-13 14:47     ` Simon Glass
2021-10-13 14:47       ` Simon Glass
2021-10-13 17:34       ` François Ozog
2021-10-13 17:34         ` François Ozog
2021-10-13 18:06         ` Simon Glass
2021-10-13 18:06           ` Simon Glass
2021-10-14 14:56           ` Tom Rini
2021-10-14 14:56             ` Tom Rini
2021-10-14 15:17             ` Simon Glass
2021-10-14 15:17               ` Simon Glass
2021-10-14 15:28               ` Tom Rini
2021-10-14 15:28                 ` Tom Rini
2021-10-14 17:58                 ` François Ozog
2021-10-14 17:58                   ` François Ozog
2021-10-15 18:03                 ` Simon Glass
2021-10-15 18:03                   ` Simon Glass
2021-10-26  6:46                   ` Ilias Apalodimas
2021-10-26  6:46                     ` Ilias Apalodimas
2021-10-27 12:59                     ` Tom Rini
2021-10-27 12:59                       ` Tom Rini
2021-10-27 13:30                       ` François Ozog
2021-10-27 13:30                         ` François Ozog
2021-10-27 13:38                         ` Tom Rini
2021-10-27 13:38                           ` Tom Rini
2021-10-27 13:47                           ` Ilias Apalodimas
2021-10-27 13:47                             ` Ilias Apalodimas
2021-10-27 14:26                             ` Tom Rini
2021-10-27 14:26                               ` Tom Rini
2021-10-27 13:48                           ` François Ozog
2021-10-27 13:48                             ` François Ozog
2021-10-27 14:30                             ` Tom Rini
2021-10-27 14:30                               ` Tom Rini
2021-10-28  2:50                     ` Simon Glass
2021-10-28  2:50                       ` Simon Glass
2021-10-28  8:21                       ` François Ozog
2021-10-28  8:21                         ` François Ozog
2021-10-28 14:30                         ` Simon Glass
2021-10-28 14:30                           ` Simon Glass
2021-10-28 14:50                           ` François Ozog
2021-10-28 14:50                             ` François Ozog
2021-10-28 15:44                             ` Simon Glass
2021-10-28 15:44                               ` Simon Glass
2021-10-28 16:25                               ` François Ozog
2021-10-28 16:25                                 ` François Ozog
2021-11-02 14:59                                 ` Simon Glass
2021-11-02 14:59                                   ` Simon Glass
2021-11-01 11:04                       ` Ilias Apalodimas
2021-11-01 11:04                         ` Ilias Apalodimas
2021-11-02 10:06                         ` Michael Walle
2021-11-02 10:06                           ` Michael Walle
2021-11-02 12:34                           ` François Ozog
2021-11-02 12:34                             ` François Ozog
2021-11-02 14:59                         ` Simon Glass
2021-11-02 14:59                           ` Simon Glass
2021-10-27 12:48                   ` Tom Rini
2021-10-27 12:48                     ` Tom Rini
2021-10-27 13:15                     ` François Ozog
2021-10-27 13:15                       ` François Ozog
2021-10-27 13:23                       ` Heinrich Schuchardt
2021-10-27 13:23                         ` Heinrich Schuchardt
2021-10-27 14:55                         ` Tom Rini
2021-10-27 14:55                           ` Tom Rini
2021-10-27 15:02                           ` Heinrich Schuchardt
2021-10-27 15:02                             ` Heinrich Schuchardt
2021-10-27 18:04                             ` Tom Rini
2021-10-27 18:04                               ` Tom Rini
2021-10-27 14:54                       ` Tom Rini
2021-10-27 14:54                         ` Tom Rini
2021-10-27 15:10                       ` Mark Kettenis
2021-10-27 15:10                         ` Mark Kettenis
2021-10-27 15:24                         ` Simon Glass
2021-10-27 15:24                           ` Simon Glass
2021-10-27 18:06                           ` Tom Rini
2021-10-27 18:06                             ` Tom Rini
2021-10-27 18:11                             ` François Ozog
2021-10-27 18:11                               ` François Ozog
2021-10-27 21:52                           ` Mark Kettenis
2021-10-27 21:52                             ` Mark Kettenis
2021-10-27 16:02                         ` François Ozog
2021-10-27 16:02                           ` François Ozog
2021-10-27 19:06                           ` Tom Rini
2021-10-27 19:06                             ` Tom Rini
2021-10-27 22:00                             ` François Ozog
2021-10-27 22:00                               ` François Ozog
2021-10-28 14:41                               ` Tom Rini
2021-10-28 14:41                                 ` Tom Rini
2021-10-14 16:24               ` Andre Przywara
2021-10-14 16:24                 ` Andre Przywara
2021-10-14 17:48                 ` François Ozog
2021-10-14 17:48                   ` François Ozog
2021-10-14 18:12           ` François Ozog
2021-10-14 18:12             ` François Ozog
2021-10-14 21:00             ` Simon Glass
2021-10-14 21:00               ` Simon Glass
2021-10-13 12:39   ` Philippe Mathieu-Daudé
2021-10-13 12:39     ` Philippe Mathieu-Daudé
2021-10-13 13:06     ` François Ozog
2021-10-13 13:06       ` François Ozog
2021-10-13  4:26 ` Heinrich Schuchardt
2021-10-13  4:26   ` Heinrich Schuchardt
2021-10-13 13:06   ` François Ozog
2021-10-13 13:06     ` François Ozog
2021-10-13  9:50 ` Andre Przywara
2021-10-13  9:50   ` Andre Przywara
2021-10-13 13:05   ` François Ozog
2021-10-13 13:05     ` François Ozog

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211013010120.96851-11-sjg@chromium.org \
    --to=sjg@chromium.org \
    --cc=albert.u.boot@aribaud.net \
    --cc=andre.przywara@arm.com \
    --cc=awilliams@marvell.com \
    --cc=christianshewitt@gmail.com \
    --cc=festevam@gmail.com \
    --cc=hs@denx.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jagan@amarulasolutions.com \
    --cc=kever.yang@rock-chips.com \
    --cc=kristo@kernel.org \
    --cc=narmstrong@baylibre.com \
    --cc=pbrobinson@gmail.com \
    --cc=rick@andestech.com \
    --cc=seanga2@gmail.com \
    --cc=sr@denx.de \
    --cc=tharvey@gateworks.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.