| // SPDX-License-Identifier: GPL-2.0 |
| * Copyright (C) 2023 MediaTek Inc. |
| * Copyright (C) 2023 BayLibre, SAS |
| * Author: Julien Masson <jmasson@baylibre.com> |
| * Author: Fabien Parent <fparent@baylibre.com> |
| #include <asm/global_data.h> |
| return fdtdec_setup_mem_size_base(); |
| int dram_init_banksize(void) |
| gd->bd->bi_dram[0].start = gd->ram_base; |
| gd->bd->bi_dram[0].size = gd->ram_size; |
| int mtk_soc_early_init(void) |
| if (IS_ENABLED(CONFIG_PSCI_RESET)) { |
| uclass_first_device(UCLASS_WDT, &wdt); |
| printf("CPU: MediaTek MT8365\n"); |