]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
riscv: mbv: Switch to OF_SEPARATE with fixed address
authorMichal Simek <michal.simek@amd.com>
Wed, 14 Feb 2024 11:52:31 +0000 (12:52 +0100)
committerMichal Simek <michal.simek@amd.com>
Fri, 1 Mar 2024 07:41:38 +0000 (08:41 +0100)
Hardcode DTB address to specific address.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/a5ad3c8d21be311254dd950e4e322d13cacdc176.1707911544.git.michal.simek@amd.com
board/xilinx/Kconfig
configs/xilinx_mbv32_defconfig
configs/xilinx_mbv32_smode_defconfig

index 843198fa0da893c7184bfa602b148fbb421e79e8..5c4ad8f1df9a18c05da501bbd0c850fa7cc746d1 100644 (file)
@@ -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.
index 89fb3fbd2fbd5ad5e61fa1e5c0d6d5743cb88671..a08a12570d34fdf03e74e825affae75468dd78db 100644 (file)
@@ -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
index 844afdecebf5258a3faa6a02b5f852c7b37c4f8a..fd3ef931f6ca60eaead20e02cdea2369bc72104c 100644 (file)
@@ -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