Konstantin Porotchkin | 646b5cc | 2018-06-07 18:48:49 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 Marvell International Ltd. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * https://spdx.org/licenses |
| 6 | */ |
| 7 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame^] | 8 | #ifndef MVEBU_DEF_H |
| 9 | #define MVEBU_DEF_H |
Konstantin Porotchkin | 646b5cc | 2018-06-07 18:48:49 +0300 | [diff] [blame] | 10 | |
| 11 | #include <a8k_plat_def.h> |
| 12 | |
| 13 | #define CP_COUNT 1 /* A70x0 has single CP0 */ |
| 14 | |
| 15 | /*********************************************************************** |
| 16 | * Required platform porting definitions common to all |
| 17 | * Management Compute SubSystems (MSS) |
| 18 | *********************************************************************** |
| 19 | */ |
| 20 | /* |
| 21 | * Load address of SCP_BL2 |
| 22 | * SCP_BL2 is loaded to the same place as BL31. |
| 23 | * Once SCP_BL2 is transferred to the SCP, |
| 24 | * it is discarded and BL31 is loaded over the top. |
| 25 | */ |
| 26 | #ifdef SCP_IMAGE |
| 27 | #define SCP_BL2_BASE BL31_BASE |
| 28 | #endif |
| 29 | |
| 30 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame^] | 31 | #endif /* MVEBU_DEF_H */ |