developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
2 | /* | ||||
3 | * Copyright (C) 2018 MediaTek Inc. | ||||
4 | */ | ||||
5 | |||||
6 | #include <common.h> | ||||
Simon Glass | 3ba929a | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 7 | #include <asm/global_data.h> |
developer | f4a079c | 2018-11-15 10:07:52 +0800 | [diff] [blame] | 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 | return 0; | ||||
17 | } |