ARM: MediaTek: add basic support for MT8518 boards
[platform/kernel/u-boot.git] / board / mediatek / mt8518 / mt8518_ap1.c
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 }