meta-ampere: state-manager: disable host boot retry

Ampere system supports host EEPROM failover which switches boot EEPROM
from main to secondary EEPROM when the system is failed to boot. This
causes trying to reboot the system after the first failure of power on
is unnecessary. This commit changes boot retry from 3 to 1.

Tested:
1. Make sure BMC does not retry to power on the host after first
failure.

Signed-off-by: Thu Ba Nguyen <tbnguyen@amperecomputing.com>
Change-Id: I3bfdabc7ab968a9b673ffec9ae5dc208966a548a
diff --git a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
index 703ff48..62c6f96 100644
--- a/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
+++ b/meta-ampere/meta-common/recipes-phosphor/state/phosphor-state-manager_%.bbappend
@@ -2,7 +2,10 @@
 
 DEPENDS += "gpioplus libgpiod"
 
-EXTRA_OEMESON:append = " -Dhost-gpios=enabled"
+EXTRA_OEMESON:append = " \
+                         -Dhost-gpios=enabled \
+                         -Dboot-count-max-allowed=1 \
+                       "
 
 FILES:${PN} += "${systemd_system_unitdir}/*"
 FILES:${PN}-host += "${bindir}/phosphor-host-condition-gpio"