mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
24 lines
373 B
C
24 lines
373 B
C
|
// SPDX-License-Identifier: GPL-2.0+
|
||
|
/*
|
||
|
* Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
||
|
*/
|
||
|
|
||
|
#include <common.h>
|
||
|
#include <fdtdec.h>
|
||
|
|
||
|
#define MROM_FDT_ADDR 0x1020
|
||
|
|
||
|
int board_init(void)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
void *board_fdt_blob_setup(void)
|
||
|
{
|
||
|
/*
|
||
|
* QEMU loads a generated DTB for us immediately
|
||
|
* after the reset vectors in the MROM
|
||
|
*/
|
||
|
return (void *)MROM_FDT_ADDR;
|
||
|
}
|