u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: <u-boot@lists.denx.de>, <git@xilinx.com>
Cc: Leo Yu-Chi Liang <ycliang@andestech.com>,
	Padmarao Begari <padmarao.begari@microchip.com>,
	Tom Rini <trini@konsulko.com>
Subject: [PATCH 3/5] riscv: mbv: Switch to OF_SEPARATE with fixed address
Date: Wed, 14 Feb 2024 12:52:31 +0100	[thread overview]
Message-ID: <a5ad3c8d21be311254dd950e4e322d13cacdc176.1707911544.git.michal.simek@amd.com> (raw)
In-Reply-To: <cover.1707911544.git.michal.simek@amd.com>

Hardcode DTB address to specific address.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 board/xilinx/Kconfig                 | 1 +
 configs/xilinx_mbv32_defconfig       | 1 -
 configs/xilinx_mbv32_smode_defconfig | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
index 843198fa0da8..5c4ad8f1df9a 100644
--- a/board/xilinx/Kconfig
+++ b/board/xilinx/Kconfig
@@ -45,6 +45,7 @@ config XILINX_OF_BOARD_DTB_ADDR
 	default 0x1000 if ARCH_VERSAL || ARCH_VERSAL_NET
 	default 0x8000 if MICROBLAZE
 	default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP
+	default 0x23000000 if TARGET_XILINX_MBV
 	depends on OF_BOARD || OF_SEPARATE
 	help
 	  Offset in the memory where the board configuration DTB is placed.
diff --git a/configs/xilinx_mbv32_defconfig b/configs/xilinx_mbv32_defconfig
index 89fb3fbd2fbd..a08a12570d34 100644
--- a/configs/xilinx_mbv32_defconfig
+++ b/configs/xilinx_mbv32_defconfig
@@ -20,7 +20,6 @@ CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_BOARD_LATE_INIT is not set
 # CONFIG_CMD_MII is not set
 CONFIG_CMD_TIMER=y
-CONFIG_OF_EMBED=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM_MTD=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
diff --git a/configs/xilinx_mbv32_smode_defconfig b/configs/xilinx_mbv32_smode_defconfig
index 844afdecebf5..fd3ef931f6ca 100644
--- a/configs/xilinx_mbv32_smode_defconfig
+++ b/configs/xilinx_mbv32_smode_defconfig
@@ -20,7 +20,6 @@ CONFIG_DISPLAY_BOARDINFO=y
 # CONFIG_BOARD_LATE_INIT is not set
 # CONFIG_CMD_MII is not set
 CONFIG_CMD_TIMER=y
-CONFIG_OF_EMBED=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_DM_MTD=y
 CONFIG_DEBUG_UART_UARTLITE=y
-- 
2.36.1


  parent reply	other threads:[~2024-02-14 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14 11:52 [PATCH 0/5] riscv: mbv: Enhance MB-V support with also enabling SPL Michal Simek
2024-02-14 11:52 ` [PATCH 1/5] riscv: mbv: Align addresses with default DT Michal Simek
2024-02-14 11:52 ` [PATCH 2/5] riscv: mbv: Enable REMAKE_ELF by default Michal Simek
2024-02-14 11:52 ` Michal Simek [this message]
2024-02-14 11:52 ` [PATCH 4/5] riscv: mbv: Moving little_endian variable to data section Michal Simek
2024-02-14 11:52 ` [PATCH 5/5] riscv: mbv: Enable SPL and binman Michal Simek
2024-03-01  7:42 ` [PATCH 0/5] riscv: mbv: Enhance MB-V support with also enabling SPL Michal Simek

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=a5ad3c8d21be311254dd950e4e322d13cacdc176.1707911544.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=padmarao.begari@microchip.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).