blob: 7a78e8593884507bfe984c5ba9855382099c0313 [file] [log] [blame]
Lokesh Vutlaed0e6052018-08-27 15:57:09 +05301// SPDX-License-Identifier: GPL-2.0+
2/*
3 * K3: Architecture initialization
4 *
5 * Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
6 * Lokesh Vutla <lokeshvutla@ti.com>
7 */
8
9#include <common.h>
10#include <spl.h>
11
12#ifdef CONFIG_SPL_BUILD
13void board_init_f(ulong dummy)
14{
15 /* Init DM early in-order to invoke system controller */
16 spl_early_init();
17
18 /* Prepare console output */
19 preloader_console_init();
20}
21
22u32 spl_boot_device(void)
23{
24 return BOOT_DEVICE_RAM;
25}
26#endif
27
28#ifndef CONFIG_SYSRESET
29void reset_cpu(ulong ignored)
30{
31}
32#endif