William Zhang | d7cdf30 | 2022-05-09 09:28:02 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
| 2 | /* |
| 3 | * (C) Copyright 2022 Broadcom Ltd. |
| 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <fdtdec.h> |
| 8 | |
| 9 | int board_init(void) |
| 10 | { |
| 11 | return 0; |
| 12 | } |
| 13 | |
| 14 | int dram_init(void) |
| 15 | { |
| 16 | if (fdtdec_setup_mem_size_base() != 0) |
| 17 | puts("fdtdec_setup_mem_size_base() has failed\n"); |
| 18 | |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 | int dram_init_banksize(void) |
| 23 | { |
| 24 | fdtdec_setup_memory_banksize(); |
| 25 | return 0; |
| 26 | } |
| 27 | |
| 28 | int print_cpuinfo(void) |
| 29 | { |
| 30 | return 0; |
| 31 | } |
| 32 | |
William Zhang | 771896c | 2022-08-22 11:19:48 -0700 | [diff] [blame] | 33 | __weak void reset_cpu(void) |
William Zhang | d7cdf30 | 2022-05-09 09:28:02 -0700 | [diff] [blame] | 34 | { |
| 35 | } |