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 | |
| 8 | #ifndef __MVEBU_DEF_H__ |
| 9 | #define __MVEBU_DEF_H__ |
| 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 | |
| 31 | #endif /* __MVEBU_DEF_H__ */ |