aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-histb/board_common.c
blob: a26c2066e02887953005399ab8e01a6c94e5273b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0+
/*
 * Board init file for all histb boards
 *
 * (C) Copyright 2023 Yang Xiwen <forbidden405@outlook.com>
 */

#include <common.h>
#include <fdtdec.h>
#include <init.h>
#include <asm/system.h>

int __weak board_init(void)
{
	return 0;
}

int __weak dram_init_banksize(void)
{
	return fdtdec_setup_memory_banksize();
}

int __weak dram_init(void)
{
	return fdtdec_setup_mem_size_base();
}

void __weak reset_cpu(void)
{
	psci_system_reset();
}