xref: /openbmc/u-boot/board/mediatek/mt7629/mt7629_rfb.c (revision e16c888fab5014b022d5781dc534f204460a073b)
1*cbd2fba1SRyder Lee // SPDX-License-Identifier: GPL-2.0
2*cbd2fba1SRyder Lee /*
3*cbd2fba1SRyder Lee  * Copyright (C) 2018 MediaTek Inc.
4*cbd2fba1SRyder Lee  */
5*cbd2fba1SRyder Lee 
6*cbd2fba1SRyder Lee #include <common.h>
7*cbd2fba1SRyder Lee 
8*cbd2fba1SRyder Lee DECLARE_GLOBAL_DATA_PTR;
9*cbd2fba1SRyder Lee 
board_init(void)10*cbd2fba1SRyder Lee int board_init(void)
11*cbd2fba1SRyder Lee {
12*cbd2fba1SRyder Lee 	/* address of boot parameters */
13*cbd2fba1SRyder Lee 	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
14*cbd2fba1SRyder Lee 
15*cbd2fba1SRyder Lee 	return 0;
16*cbd2fba1SRyder Lee }
17