]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Rename fw_dtb variable to fdt_blob
authorMichal Simek <michal.simek@xilinx.com>
Thu, 19 Dec 2019 16:43:07 +0000 (17:43 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 14 Jan 2020 08:05:53 +0000 (09:05 +0100)
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>
board/xilinx/common/board.c

index 1c28263cb8895529977ef43642d646ac177be001..62dafe0f90582b454d040f9c92cf7fb3f39464a0 100644 (file)
@@ -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