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>
23 struct spl_handoff *ho;
25 ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho));
27 return log_msg_ret("Missing SPL hand-off info", -ENOENT);
28 handoff_load_dram_size(ho);
30 /* TODO(sjg@chromium.org): MTRR cannot be adjusted without a hang */
31 mtrr_add_request(MTRR_TYPE_WRBACK, 0, 2ULL << 30);
33 mtrr_add_request(MTRR_TYPE_WRBACK, 0, gd->ram_size);
45 int print_cpuinfo(void)
50 void board_debug_uart_init(void)
54 int dram_init_banksize(void)
56 struct spl_handoff *ho;
58 ho = bloblist_find(BLOBLISTT_SPL_HANDOFF, sizeof(*ho));
60 return log_msg_ret("Missing SPL hand-off info", -ENOENT);
61 handoff_load_dram_banks(ho);