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> |
| 10 | #include <asm/arch/sys_proto.h> |
| 11 | #include <asm/io.h> |
| 12 | #include <common.h> |
| 13 | #include <dm/uclass.h> |
| 14 | #include <env.h> |
| 15 | #include <fdt_support.h> |
| 16 | #include <spl.h> |
| 17 | |
| 18 | int board_init(void) |
| 19 | { |
| 20 | return 0; |
| 21 | } |
| 22 | |
| 23 | int dram_init(void) |
| 24 | { |
| 25 | return fdtdec_setup_mem_size_base(); |
| 26 | } |
| 27 | |
| 28 | int dram_init_banksize(void) |
| 29 | { |
| 30 | return fdtdec_setup_memory_banksize(); |
| 31 | } |