Sumit Garg | 89a8ec9 | 2022-07-12 12:42:12 +0530 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * Board init file for QCS404-EVB |
| 4 | * |
| 5 | * (C) Copyright 2022 Sumit Garg <sumit.garg@linaro.org> |
| 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | #include <cpu_func.h> |
| 10 | #include <dm.h> |
| 11 | #include <env.h> |
| 12 | #include <init.h> |
| 13 | #include <asm/cache.h> |
| 14 | #include <asm/global_data.h> |
| 15 | #include <fdt_support.h> |
| 16 | #include <asm/arch/dram.h> |
| 17 | |
| 18 | DECLARE_GLOBAL_DATA_PTR; |
| 19 | |
| 20 | int dram_init(void) |
| 21 | { |
| 22 | return fdtdec_setup_mem_size_base(); |
| 23 | } |
| 24 | |
| 25 | int board_init(void) |
| 26 | { |
| 27 | return 0; |
| 28 | } |
| 29 | |
| 30 | void reset_cpu(void) |
| 31 | { |
| 32 | psci_system_reset(); |
| 33 | } |