mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-28 08:35:38 +00:00

As part of bringing the master branch back in to next, we need to allow for all of these changes to exist here. Reported-by: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Tom Rini <trini@konsulko.com>
30 lines
460 B
C
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();
|
|
}
|