blob: ac3adb8012221f5eb379c7cf05220d1feeca0971 [file] [log] [blame]
developerb41343a2019-12-31 11:29:26 +08001// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (C) 2019 MediaTek Inc.
4 */
5
6#include <common.h>
7#include <dm.h>
Simon Glass0f2af882020-05-10 11:40:05 -06008#include <log.h>
developerb41343a2019-12-31 11:29:26 +08009#include <wdt.h>
Simon Glass3ba929a2020-10-30 21:38:53 -060010#include <asm/global_data.h>
developerb41343a2019-12-31 11:29:26 +080011
12DECLARE_GLOBAL_DATA_PTR;
13
14int board_init(void)
15{
16 /* address of boot parameters */
17 gd->bd->bi_boot_params = gd->ram_base + 0x100;
18
19 debug("gd->fdt_blob is %p\n", gd->fdt_blob);
20 return 0;
21}