blob: c8c1c78ae5a25dbb4edab8ac26bb6291b65f9543 [file] [log] [blame]
Nishanth Menonac205d82023-11-04 03:11:01 -05001// SPDX-License-Identifier: GPL-2.0
2/*
3 * https://beagleboard.org/ai-64
4 *
5 * Copyright (C) 2022-2023 Texas Instruments Incorporated - https://www.ti.com/
6 * Copyright (C) 2022-2023 Jason Kridner, BeagleBoard.org Foundation
7 * Copyright (C) 2022-2023 Robert Nelson, BeagleBoard.org Foundation
8 */
9
10#include <cpu_func.h>
11#include <env.h>
12#include <fdt_support.h>
13#include <spl.h>
14
15DECLARE_GLOBAL_DATA_PTR;
16
17int board_init(void)
18{
19 return 0;
20}
21
22int dram_init(void)
23{
24 return fdtdec_setup_mem_size_base();
25}
26
27int dram_init_banksize(void)
28{
29 return fdtdec_setup_memory_banksize();
30}