blob: 1c376dea372f26f54cfdf8a25d26c34e0d0515ef [file] [log] [blame]
Nishanth Menon9dd6bdc2023-11-04 03:01:35 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * https://beagleplay.org/
4 *
5 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
6 * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
7 */
8
9#include <cpu_func.h>
10#include <env.h>
11#include <fdt_support.h>
12#include <spl.h>
13
14DECLARE_GLOBAL_DATA_PTR;
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}