1 /* 2 * Copyright (c) 2017-2023, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef ERRATA_REPORT_H 8 #define ERRATA_REPORT_H 9 10 #ifndef __ASSEMBLER__ 11 12 void print_errata_status(void); 13 void errata_print_msg(unsigned int status, const char *cpu, const char *id); 14 15 #endif /* __ASSEMBLER__ */ 16 17 /* Errata status */ 18 #define ERRATA_NOT_APPLIES 0 19 #define ERRATA_APPLIES 1 20 #define ERRATA_MISSING 2 21 22 /* Macro to get CPU revision code for checking errata version compatibility. */ 23 #define CPU_REV(r, p) ((r << 4) | p) 24 25 #endif /* ERRATA_REPORT_H */ 26