blob: cd3360a43029b03902a2bd77abf76a04f4a33d4f [file] [log] [blame]
Bryan Brattlofa0659a52022-11-03 19:13:57 -05001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Board specific initialization for AM62Ax platforms
4 *
5 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/
6 *
7 */
8
9#include <asm/arch/hardware.h>
Bryan Brattlofa0659a52022-11-03 19:13:57 -050010#include <asm/io.h>
Bryan Brattlofa0659a52022-11-03 19:13:57 -050011#include <dm/uclass.h>
12#include <env.h>
13#include <fdt_support.h>
14#include <spl.h>
15
16int board_init(void)
17{
18 return 0;
19}
20
21int dram_init(void)
22{
23 return fdtdec_setup_mem_size_base();
24}
25
26int dram_init_banksize(void)
27{
28 return fdtdec_setup_memory_banksize();
29}