blob: d2f557ffee5f9df5822a9880fe222af8864de97d [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
developerb41343a2019-12-31 11:29:26 +08006#include <dm.h>
Simon Glass0f2af882020-05-10 11:40:05 -06007#include <log.h>
developerb41343a2019-12-31 11:29:26 +08008#include <wdt.h>
Simon Glass3ba929a2020-10-30 21:38:53 -06009#include <asm/global_data.h>
developerb41343a2019-12-31 11:29:26 +080010
11DECLARE_GLOBAL_DATA_PTR;
12
13int board_init(void)
14{
15 /* address of boot parameters */
16 gd->bd->bi_boot_params = gd->ram_base + 0x100;
17
18 debug("gd->fdt_blob is %p\n", gd->fdt_blob);
19 return 0;
20}