blob: 84d02c9aca21321ecbed06d1c1213da65ab1b179 [file] [log] [blame]
Yang Xiwendb1d1f42023-04-01 19:17:33 +08001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Board init file for all histb boards
4 *
5 * (C) Copyright 2023 Yang Xiwen <forbidden405@outlook.com>
6 */
7
Yang Xiwendb1d1f42023-04-01 19:17:33 +08008#include <fdtdec.h>
9#include <init.h>
10#include <asm/system.h>
11
12int __weak board_init(void)
13{
14 return 0;
15}
16
17int __weak dram_init_banksize(void)
18{
19 return fdtdec_setup_memory_banksize();
20}
21
22int __weak dram_init(void)
23{
24 return fdtdec_setup_mem_size_base();
25}
26
27void __weak reset_cpu(void)
28{
29 psci_system_reset();
30}