developer | 862f505 | 2019-11-07 19:28:44 +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 | |||||
9 | DECLARE_GLOBAL_DATA_PTR; | ||||
10 | |||||
11 | int board_init(void) | ||||
12 | { | ||||
13 | /* address of boot parameters */ | ||||
14 | gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; | ||||
15 | |||||
16 | debug("gd->fdt_blob is %p\n", gd->fdt_blob); | ||||
17 | return 0; | ||||
18 | } |