Lokesh Vutla | ed0e605 | 2018-08-27 15:57:09 +0530 | [diff] [blame^] | 1 | // 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 |
| 13 | void 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 | |
| 22 | u32 spl_boot_device(void) |
| 23 | { |
| 24 | return BOOT_DEVICE_RAM; |
| 25 | } |
| 26 | #endif |
| 27 | |
| 28 | #ifndef CONFIG_SYSRESET |
| 29 | void reset_cpu(ulong ignored) |
| 30 | { |
| 31 | } |
| 32 | #endif |