mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 03:03:05 +00:00
31 lines
507 B
C
31 lines
507 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/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();
|
||
|
}
|