Bryan Brattlof | a0659a5 | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 1 | // 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 Brattlof | a0659a5 | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 10 | #include <asm/io.h> |
| 11 | #include <common.h> |
| 12 | #include <dm/uclass.h> |
| 13 | #include <env.h> |
| 14 | #include <fdt_support.h> |
| 15 | #include <spl.h> |
| 16 | |
| 17 | int board_init(void) |
| 18 | { |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 | int dram_init(void) |
| 23 | { |
| 24 | return fdtdec_setup_mem_size_base(); |
| 25 | } |
| 26 | |
| 27 | int dram_init_banksize(void) |
| 28 | { |
| 29 | return fdtdec_setup_memory_banksize(); |
| 30 | } |