riscv: mbv: Switch to OF_SEPARATE with fixed address

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
This commit is contained in:
Michal Simek 2024-02-14 12:52:31 +01:00
parent 466368e848
commit eb950dcbf8
3 changed files with 1 additions and 2 deletions

View file

@ -45,6 +45,7 @@ config XILINX_OF_BOARD_DTB_ADDR
default 0x1000 if ARCH_VERSAL || ARCH_VERSAL_NET default 0x1000 if ARCH_VERSAL || ARCH_VERSAL_NET
default 0x8000 if MICROBLAZE default 0x8000 if MICROBLAZE
default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP
default 0x23000000 if TARGET_XILINX_MBV
depends on OF_BOARD || OF_SEPARATE depends on OF_BOARD || OF_SEPARATE
help help
Offset in the memory where the board configuration DTB is placed. Offset in the memory where the board configuration DTB is placed.

View file

@ -20,7 +20,6 @@ CONFIG_DISPLAY_BOARDINFO=y
# CONFIG_BOARD_LATE_INIT is not set # CONFIG_BOARD_LATE_INIT is not set
# CONFIG_CMD_MII is not set # CONFIG_CMD_MII is not set
CONFIG_CMD_TIMER=y CONFIG_CMD_TIMER=y
CONFIG_OF_EMBED=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_DM_MTD=y CONFIG_DM_MTD=y
CONFIG_DEBUG_UART_ANNOUNCE=y CONFIG_DEBUG_UART_ANNOUNCE=y

View file

@ -20,7 +20,6 @@ CONFIG_DISPLAY_BOARDINFO=y
# CONFIG_BOARD_LATE_INIT is not set # CONFIG_BOARD_LATE_INIT is not set
# CONFIG_CMD_MII is not set # CONFIG_CMD_MII is not set
CONFIG_CMD_TIMER=y CONFIG_CMD_TIMER=y
CONFIG_OF_EMBED=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_DM_MTD=y CONFIG_DM_MTD=y
CONFIG_DEBUG_UART_UARTLITE=y CONFIG_DEBUG_UART_UARTLITE=y