developer | ed71a40 | 2018-11-15 10:07:53 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* | ||||
3 | * Copyright (C) 2018 MediaTek Inc. | ||||
4 | */ | ||||
5 | |||||
6 | #include <common.h> | ||||
7 | |||||
8 | DECLARE_GLOBAL_DATA_PTR; | ||||
9 | |||||
10 | int board_init(void) | ||||
11 | { | ||||
12 | /* address of boot parameters */ | ||||
13 | gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; | ||||
14 | |||||
15 | return 0; | ||||
16 | } |