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>
This commit is contained in:
Michal Simek 2021-01-04 11:07:28 +01:00
parent 506009fc10
commit a672b9871b
1 changed files with 2 additions and 1 deletions

View File

@ -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;