diff options
author | Michal Simek <michal.simek@xilinx.com> | 2021-01-04 11:07:28 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2021-01-20 08:34:53 +0100 |
commit | a672b9871b57fa1f1e86faa33360a49e218b9c57 (patch) | |
tree | 4928b698edfc151d87d9943b5008e731e61dc680 /board/xilinx | |
parent | 506009fc1022d5b883e95502e1c5dc38ac1da127 (diff) | |
download | u-boot-a672b9871b57fa1f1e86faa33360a49e218b9c57.zip u-boot-a672b9871b57fa1f1e86faa33360a49e218b9c57.tar.gz u-boot-a672b9871b57fa1f1e86faa33360a49e218b9c57.tar.bz2 |
xilinx: common: Do not touch CONFIG_XILINX_OF_BOARD_DTB_ADDR in SPL
This hook is used in full U-Boot that's why there is no reason to touch
this location from SPL. The hook was introduced for QEMU usage but none is
really running SPL on QEMU that's why it shouldn't break any usecase.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/common/board.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 9f651db..df19aea 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -324,7 +324,8 @@ void *board_fdt_blob_setup(void) { void *fdt_blob; - if (!IS_ENABLED(CONFIG_VERSAL_NO_DDR) && + if (!IS_ENABLED(CONFIG_SPL_BUILD) && + !IS_ENABLED(CONFIG_VERSAL_NO_DDR) && !IS_ENABLED(CONFIG_VERSAL_NO_DDR)) { fdt_blob = (void *)CONFIG_XILINX_OF_BOARD_DTB_ADDR; |