blob: f1e6e7f7eb5095c35e61eed3fc013ce6308903d3 [file] [log] [blame]
Sumit Garg89a8ec92022-07-12 12:42:12 +05301// 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
18DECLARE_GLOBAL_DATA_PTR;
19
20int dram_init(void)
21{
22 return fdtdec_setup_mem_size_base();
23}
24
25int board_init(void)
26{
27 return 0;
28}
29
30void reset_cpu(void)
31{
32 psci_system_reset();
33}