diff options
author | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | 2020-08-20 18:48:09 +0100 |
---|---|---|
committer | Javier Almansa Sobrino <javier.almansasobrino@arm.com> | 2020-09-25 15:45:50 +0100 |
commit | 1994e56221f06b47b3b38fba0a148ea505c940cd (patch) | |
tree | 42290bd994aebaceed39f7cd3e161ebfb44a2921 /include | |
parent | 73740d98d99cb740ff67e188b6a7c1db816bf9f4 (diff) | |
download | platform_external_arm-trusted-firmware-1994e56221f06b47b3b38fba0a148ea505c940cd.tar.gz platform_external_arm-trusted-firmware-1994e56221f06b47b3b38fba0a148ea505c940cd.tar.bz2 platform_external_arm-trusted-firmware-1994e56221f06b47b3b38fba0a148ea505c940cd.zip |
arm_fpga: Add support for unknown MPIDs
This patch allows the system to fallback to a default CPU library
in case the MPID does not match with any of the supported ones.
This feature can be enabled by setting SUPPORT_UNKNOWN_MPID build
option to 1 (enabled by default only on arm_fpga platform).
This feature can be very dangerous on a production image and
therefore it MUST be disabled for Release images.
Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I0df7ef2b012d7d60a4fd5de44dea1fbbb46881ba
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/cpus/aarch64/generic.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/lib/cpus/aarch64/generic.h b/include/lib/cpus/aarch64/generic.h new file mode 100644 index 000000000..53df58761 --- /dev/null +++ b/include/lib/cpus/aarch64/generic.h @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2020, Arm Limited. All rights reserverd. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef AARCH64_GENERIC_H +#define AARCH64_GENERIC_H + +#include <lib/utils_def.h> + +/* + * 0x0 value on the MIDR implementer value is reserved for software use, + * so use an MIDR value of 0 for a default CPU library. + */ +#define AARCH64_GENERIC_MIDR U(0) + +#endif /* AARCH64_GENERIC_H */ |