Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | e0f9063 | 2018-12-14 00:18:21 +0000 | [diff] [blame] | 7 | #include <common/debug.h> |
| 8 | #include <lib/mmio.h> |
| 9 | |
Jiafei Pan | 46367ad | 2018-03-02 07:23:30 +0000 | [diff] [blame] | 10 | #include "plat_ls.h" |
| 11 | |
| 12 | void bl2_early_platform_setup2(u_register_t arg0, u_register_t arg1, |
| 13 | u_register_t arg2, u_register_t arg3) |
| 14 | { |
| 15 | ls_bl2_early_platform_setup((meminfo_t *)arg1); |
| 16 | |
| 17 | /* |
| 18 | * Initialize system level generic timer for Layerscape Socs. |
| 19 | */ |
| 20 | ls_delay_timer_init(); |
| 21 | } |
| 22 | |
| 23 | void bl2_platform_setup(void) |
| 24 | { |
| 25 | NOTICE(FIRMWARE_WELCOME_STR_LS1043_BL2); |
| 26 | } |