1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com> 4 */ 5 6 #include <common.h> 7 #include <fdtdec.h> 8 9 #define MROM_FDT_ADDR 0x1020 10 11 int board_init(void) 12 { 13 return 0; 14 } 15 16 void *board_fdt_blob_setup(void) 17 { 18 /* 19 * QEMU loads a generated DTB for us immediately 20 * after the reset vectors in the MROM 21 */ 22 return (void *)MROM_FDT_ADDR; 23 } 24