diff mbox series

board: xilinx: Enable changing default DTB pick up address

Message ID 55272363148fe9f4d3928b63e568ddf6c6e0ede8.1598529244.git.michal.simek@xilinx.com
State Accepted
Commit 1a005b4ae45cc7bddfdaee095ec29cabea8be18a
Delegated to: Michal Simek
Headers show
Series board: xilinx: Enable changing default DTB pick up address | expand

Commit Message

Michal Simek Aug. 27, 2020, 11:54 a.m. UTC
U-Boot on xilinx boards is checking one address where DTB can be placed as
the first location for DTB. Originally this code was developed for Versal
where QEMU was putting generated DTB for U-Boot to use.
The patch enables changing this address which is necessary for cases where
default address is pointing to location (DDR) which is not present. The
access to this location can cause exception.

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

 board/xilinx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Sept. 23, 2020, 12:04 p.m. UTC | #1
čt 27. 8. 2020 v 13:54 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> U-Boot on xilinx boards is checking one address where DTB can be placed as
> the first location for DTB. Originally this code was developed for Versal
> where QEMU was putting generated DTB for U-Boot to use.
> The patch enables changing this address which is necessary for cases where
> default address is pointing to location (DDR) which is not present. The
> access to this location can cause exception.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  board/xilinx/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
> index 73fc1be0141e..c80d0a881284 100644
> --- a/board/xilinx/Kconfig
> +++ b/board/xilinx/Kconfig
> @@ -41,7 +41,7 @@ config XILINX_PS_INIT_FILE
>  endif
>
>  config XILINX_OF_BOARD_DTB_ADDR
> -       hex
> +       hex "Default DTB pickup address"
>         default 0x1000 if ARCH_VERSAL
>         default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP
>         depends on OF_BOARD || OF_SEPARATE
> --
> 2.28.0
>

Applied.
M
diff mbox series

Patch

diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig
index 73fc1be0141e..c80d0a881284 100644
--- a/board/xilinx/Kconfig
+++ b/board/xilinx/Kconfig
@@ -41,7 +41,7 @@  config XILINX_PS_INIT_FILE
 endif
 
 config XILINX_OF_BOARD_DTB_ADDR
-	hex
+	hex "Default DTB pickup address"
 	default 0x1000 if ARCH_VERSAL
 	default 0x100000 if ARCH_ZYNQ || ARCH_ZYNQMP
 	depends on OF_BOARD || OF_SEPARATE