developer | b41343a | 2019-12-31 11:29:26 +0800 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Copyright (C) 2019 MediaTek Inc. |
| 4 | */ |
| 5 | |
developer | b41343a | 2019-12-31 11:29:26 +0800 | [diff] [blame] | 6 | #include <dm.h> |
Simon Glass | 0f2af88 | 2020-05-10 11:40:05 -0600 | [diff] [blame] | 7 | #include <log.h> |
developer | b41343a | 2019-12-31 11:29:26 +0800 | [diff] [blame] | 8 | #include <wdt.h> |
Simon Glass | 3ba929a | 2020-10-30 21:38:53 -0600 | [diff] [blame] | 9 | #include <asm/global_data.h> |
developer | b41343a | 2019-12-31 11:29:26 +0800 | [diff] [blame] | 10 | |
| 11 | DECLARE_GLOBAL_DATA_PTR; |
| 12 | |
| 13 | int board_init(void) |
| 14 | { |
| 15 | /* address of boot parameters */ |
| 16 | gd->bd->bi_boot_params = gd->ram_base + 0x100; |
| 17 | |
| 18 | debug("gd->fdt_blob is %p\n", gd->fdt_blob); |
| 19 | return 0; |
| 20 | } |