| // SPDX-License-Identifier: GPL-2.0+ |
| * (C) Copyright 2016 Google, Inc |
| * Written by Simon Glass <sjg@chromium.org> |
| ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho)); |
| return log_msg_ret("Missing SPL hand-off info", -ENOENT); |
| handoff_load_dram_size(ho); |
| /* TODO(sjg@chromium.org): MTRR cannot be adjusted without a hang */ |
| mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30); |
| mtrr_add_request(MTRR_TYPE_WRBACK, 0, gd->ram_size); |
| void board_debug_uart_init(void) |
| int dram_init_banksize(void) |
| #ifdef CONFIG_NR_DRAM_BANKS |
| ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho)); |
| return log_msg_ret("Missing SPL hand-off info", -ENOENT); |
| handoff_load_dram_banks(ho); |