u-boot/arch/arm/mach-histb/board_common.c
Tom Rini fbe0fae1e8 arm: histb: Remove <common.h> and add needed includes
Remove <common.h> from all mach-histb files and when needed add missing
include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
2024-05-06 15:06:34 -06:00

30 lines
460 B
C

// SPDX-License-Identifier: GPL-2.0+
/*
* Board init file for all histb boards
*
* (C) Copyright 2023 Yang Xiwen <forbidden405@outlook.com>
*/
#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();
}