refactor(cpus): modify log for "ERRATA_NOT_APPLIES"

modify the print logs when an erratum workaround does not
need to be applied to a certain revision/variant of the CPU.

Change-Id: I8f60636320f617ecd4ed88ee1fbf7a3e3e4517ee
Signed-off-by: Sona Mathew <sonarebecca.mathew@arm.com>
This commit is contained in:
Sona Mathew 2024-07-18 21:53:09 -05:00
parent a4ba3cdc7a
commit becc97efc4

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017-2023, Arm Limited and Contributors. All rights reserved. * Copyright (c) 2017-2024, Arm Limited and Contributors. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
@ -51,9 +51,9 @@ static __unused void print_status(int status, char *cpu_str, uint16_t cve, uint3
} }
} else { } else {
if (cve) { if (cve) {
VERBOSE(CVE_FORMAT, BL_STRING, cpu_str, cve, id, "not applied"); VERBOSE(CVE_FORMAT, BL_STRING, cpu_str, cve, id, "not applicable");
} else { } else {
VERBOSE(ERRATUM_FORMAT, BL_STRING, cpu_str, id, "not applied"); VERBOSE(ERRATUM_FORMAT, BL_STRING, cpu_str, id, "not applicable");
} }
} }
} }