plat/arm/board/neoverse_rd/platform/rdv3/rdv3_mhuv3.c
raw| 1 | /* |
| 2 | * Copyright (c) 2024, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <stdbool.h> |
| 8 | #include <stdint.h> |
| 9 | |
| 10 | #include <common/debug.h> |
| 11 | |
| 12 | #include <nrd_css_def3.h> |
| 13 | #include <nrd_plat.h> |
| 14 | #include <rdv3_mhuv3.h> |
| 15 | |
| 16 | void mhu_v3_get_secure_device_base(uintptr_t *base, bool sender) |
| 17 | { |
| 18 | if (sender) { |
| 19 | *base = AP_RSE_ROOT_MHU_V3_PBX; |
| 20 | } else { |
| 21 | *base = AP_RSE_ROOT_MHU_V3_MBX; |
| 22 | } |
| 23 | } |