QcomModulePkg: Disable Retrycount decrement based on Android flag
Disable retry count decrement with A/B feature during early phases of
chip for debugging in multiple reboots without Boot Success. Retry count
decrement will depend on Android flag.
Change-Id: Ie5f02dbd44af181efab94f27d4d68b7c731c5e7c
diff --git a/QcomModulePkg/QcomModulePkg.dsc b/QcomModulePkg/QcomModulePkg.dsc
index fbbb578..e26ba0c 100644
--- a/QcomModulePkg/QcomModulePkg.dsc
+++ b/QcomModulePkg/QcomModulePkg.dsc
@@ -1,5 +1,5 @@
#/*
-# * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
+# * Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
# *
# * Redistribution and use in source and binary forms, with or without
# * modification, are permitted provided that the following conditions are
@@ -106,6 +106,9 @@
!if $(VERIFIED_BOOT_LE)
GCC:*_*_*_CC_FLAGS = -DVERIFIED_BOOT_LE
!endif
+ !if $(AB_RETRYCOUNT_DISABLE)
+ GCC:*_*_*_CC_FLAGS = -DAB_RETRYCOUNT_DISABLE
+ !endif
!if $(VERITY_LE)
GCC:*_*_*_CC_FLAGS = -DVERITY_LE
!endif