diff options
author | Michal Simek | 2019-12-19 17:43:07 +0100 |
---|---|---|
committer | Michal Simek | 2020-01-14 09:05:53 +0100 |
commit | db5b253f01785dba18680fdea143794988a5a566 (patch) | |
tree | 12560e662c508a0a8b3b48c3bd9a7bf8b41f90cd /board/xilinx | |
parent | f071cdab85fbcb9d696fc574485546a1189f452a (diff) |
arm64: zynqmp: Rename fw_dtb variable to fdt_blob
The reason for this change is just get in sync with board_fdt_blob_setup()
available at lib/fdtdec.c.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/common/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index 1c28263cb88..62dafe0f905 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -40,13 +40,13 @@ int zynq_board_read_rom_ethaddr(unsigned char *ethaddr) #if defined(CONFIG_OF_BOARD) void *board_fdt_blob_setup(void) { - static void *fw_dtb = (void *)CONFIG_XILINX_OF_BOARD_DTB_ADDR; + static void *fdt_blob = (void *)CONFIG_XILINX_OF_BOARD_DTB_ADDR; - if (fdt_magic(fw_dtb) != FDT_MAGIC) { - printf("DTB is not passed via %p\n", fw_dtb); + if (fdt_magic(fdt_blob) != FDT_MAGIC) { + printf("DTB is not passed via %p\n", fdt_blob); return NULL; } - return fw_dtb; + return fdt_blob; } #endif |