errata.c 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * Copyright 2021-2022 NXP
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. *
  6. */
  7. #include <common/debug.h>
  8. #include "errata_list.h"
  9. void soc_errata(void)
  10. {
  11. #ifdef ERRATA_SOC_A050426
  12. INFO("SoC workaround for Errata A050426 was applied\n");
  13. erratum_a050426();
  14. #endif
  15. #ifdef ERRATA_SOC_A008850
  16. INFO("SoC workaround for Errata A008850 Early-Phase was applied\n");
  17. erratum_a008850_early();
  18. #endif
  19. #if ERRATA_SOC_A009660
  20. INFO("SoC workaround for Errata A009660 was applied\n");
  21. erratum_a009660();
  22. #endif
  23. #if ERRATA_SOC_A010539
  24. INFO("SoC workaround for Errata A010539 was applied\n");
  25. erratum_a010539();
  26. #endif
  27. /*
  28. * The following DDR Erratas workaround are implemented in DDR driver,
  29. * but print information here.
  30. */
  31. #if ERRATA_DDR_A011396
  32. INFO("SoC workaround for DDR Errata A011396 was applied\n");
  33. #endif
  34. #if ERRATA_DDR_A050450
  35. INFO("SoC workaround for DDR Errata A050450 was applied\n");
  36. #endif
  37. #if ERRATA_DDR_A050958
  38. INFO("SoC workaround for DDR Errata A050958 was applied\n");
  39. #endif
  40. #if ERRATA_DDR_A008511
  41. INFO("SoC workaround for DDR Errata A008511 was applied\n");
  42. #endif
  43. #if ERRATA_DDR_A009803
  44. INFO("SoC workaround for DDR Errata A009803 was applied\n");
  45. #endif
  46. #if ERRATA_DDR_A009942
  47. INFO("SoC workaround for DDR Errata A009942 was applied\n");
  48. #endif
  49. #if ERRATA_DDR_A010165
  50. INFO("SoC workaround for DDR Errata A010165 was applied\n");
  51. #endif
  52. #if ERRATA_DDR_A009663
  53. INFO("SoC workaround for DDR Errata A009663 was applied\n");
  54. #endif
  55. }