1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2016 Google, Inc
4 * Written by Simon Glass <sjg@chromium.org>
10 #include <debug_uart.h>
21 struct spl_handoff *ho;
23 ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho));
25 return log_msg_ret("Missing SPL hand-off info", -ENOENT);
26 handoff_load_dram_size(ho);
28 /* TODO(sjg@chromium.org): MTRR cannot be adjusted without a hang */
29 mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30);
31 mtrr_add_request(MTRR_TYPE_WRBACK, 0, gd->ram_size);
43 int print_cpuinfo(void)
48 void board_debug_uart_init(void)
52 int dram_init_banksize(void)
54 #ifdef CONFIG_NR_DRAM_BANKS
55 struct spl_handoff *ho;
57 ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho));
59 return log_msg_ret("Missing SPL hand-off info", -ENOENT);
60 handoff_load_dram_banks(ho);