developer | b41343a | 2019-12-31 11:29:26 +0800 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* | ||||
3 | * Copyright (C) 2019 MediaTek Inc. | ||||
4 | */ | ||||
5 | |||||
6 | #include <common.h> | ||||
7 | #include <dm.h> | ||||
8 | #include <wdt.h> | ||||
9 | |||||
10 | DECLARE_GLOBAL_DATA_PTR; | ||||
11 | |||||
12 | int board_init(void) | ||||
13 | { | ||||
14 | /* address of boot parameters */ | ||||
15 | gd->bd->bi_boot_params = gd->ram_base + 0x100; | ||||
16 | |||||
17 | debug("gd->fdt_blob is %p\n", gd->fdt_blob); | ||||
18 | return 0; | ||||
19 | } |