[1/2] arm64: zynqmp: Rename fw_dtb variable to fdt_blob
diff mbox series

Message ID 9f9cefff358d8b0d6001d88914683a1330fdcbec.1576774810.git.michal.simek@xilinx.com
State New
Delegated to: Michal Simek
Headers show
Series
  • Extend board_fdt_blob_setup() to support OF_SEPARATE
Related show

Commit Message

Michal Simek Dec. 19, 2019, 5 p.m. UTC
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 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch
diff mbox series

diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index 1c28263cb889..62dafe0f9058 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