blob: 07bed0385f3a07bd59637ebc9f67fbd284730c90 [file] [log] [blame]
Pankaj Gupta77019102020-12-09 14:02:41 +05301#
2# Copyright 2020 NXP
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6# Platform Errata Build flags.
7# These should be enabled by the platform if the erratum workaround needs to be
8# applied.
9
10# Flag to apply erratum 50426 workaround during reset.
11ERRATA_SOC_A050426 ?= 0
12
13# Process ERRATA_SOC_A050426 flag
14ifeq (${ERRATA_SOC_A050426}, 1)
15INCL_SOC_ERRATA_SOURCES := yes
16$(eval $(call add_define,ERRATA_SOC_A050426))
17endif
18
19ifeq (${INCL_SOC_ERRATA_SOURCES},yes)
20BL2_SOURCES += ${PLAT_SOC_PATH}/erratas_soc.c
21endif