mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-19 01:33:10 +00:00
32 lines
539 B
C
32 lines
539 B
C
|
// SPDX-License-Identifier: GPL-2.0+
|
||
|
/*
|
||
|
* Board specific initialization for AM62Ax platforms
|
||
|
*
|
||
|
* Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#include <asm/arch/hardware.h>
|
||
|
#include <asm/arch/sys_proto.h>
|
||
|
#include <asm/io.h>
|
||
|
#include <common.h>
|
||
|
#include <dm/uclass.h>
|
||
|
#include <env.h>
|
||
|
#include <fdt_support.h>
|
||
|
#include <spl.h>
|
||
|
|
||
|
int board_init(void)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
int dram_init(void)
|
||
|
{
|
||
|
return fdtdec_setup_mem_size_base();
|
||
|
}
|
||
|
|
||
|
int dram_init_banksize(void)
|
||
|
{
|
||
|
return fdtdec_setup_memory_banksize();
|
||
|
}
|