xref: /rk3399_ARM-atf/plat/nxp/common/soc_errata/errata.c (revision 785ee93cc3bd9b43d88fee5acefbd131bf6f2756)
1 /*
2  * Copyright 2021-2022 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #include <common/debug.h>
9 
10 #include "errata_list.h"
11 
12 void soc_errata(void)
13 {
14 #ifdef ERRATA_SOC_A050426
15 	INFO("SoC workaround for Errata A050426 was applied\n");
16 	erratum_a050426();
17 #endif
18 #ifdef ERRATA_SOC_A008850
19 	INFO("SoC workaround for Errata A008850 Early-Phase was applied\n");
20 	erratum_a008850_early();
21 #endif
22 #if ERRATA_SOC_A009660
23 	INFO("SoC workaround for Errata A009660 was applied\n");
24 	erratum_a009660();
25 #endif
26 	/*
27 	 * The following DDR Erratas workaround are implemented in DDR driver,
28 	 * but print information here.
29 	 */
30 #if ERRATA_DDR_A011396
31 	INFO("SoC workaround for DDR Errata A011396 was applied\n");
32 #endif
33 #if ERRATA_DDR_A050450
34 	INFO("SoC workaround for DDR Errata A050450 was applied\n");
35 #endif
36 }
37