blob: 041e716c9bf1bdb78cfd7c181a7c96f3e7e10863 [file] [log] [blame]
Bin Meng510e3792018-09-26 06:55:21 -07001// 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
11int board_init(void)
12{
13 return 0;
14}
15
16void *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}