HACK: v3/ec: Disable SOM_FPGA_DONE watchdog

There is a bug(b/182420309) that shuts off the fpga despite it
working just fine (D18 lights up). In order to unblock fpga
development temporarly disable this "watchdog" until we fix the bug.

BUG=b/182420309
TEST=With https://chrome-internal-review.googlesource.com/c/chromeos/platform/chameleon-private-ite/+/3564743
And with a working fpga module, type this on the ec console:
	sd fpga
	fpga bootmode sdio
	fpga on
FPGA should not shutdown after 1 min.

Change-Id: Ia2f5ade0b556e0ce36b608435e98bf73a6ee0404
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/chameleon/+/2753452
Tested-by: Alexandru M Stan <amstan@chromium.org>
Auto-Submit: Alexandru M Stan <amstan@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Commit-Queue: Alexandru M Stan <amstan@chromium.org>
diff --git a/v3/ec/src/fpgaboot_sm.c b/v3/ec/src/fpgaboot_sm.c
index cbac108..b557e98 100644
--- a/v3/ec/src/fpgaboot_sm.c
+++ b/v3/ec/src/fpgaboot_sm.c
@@ -47,14 +47,15 @@
 static void run_fpgaboot_load(enum fpga_event event, enum fpga_state *p_state,
 			      uint32_t *p_actions)
 {
+	// TODO(b/182420309) Revert this CL when SOM_FPGA_DONE works again
 	if (event == FPGABOOT_POWER_OFF_REQ ||
-	    event == FPGABOOT_TIMER_EXPIRED ||
 	    event == FPGABOOT_SOM_PWR_GOOD_DEASSERTED) {
 		*p_state = FPGABOOT_OFF;
 		*p_actions = FPGABOOT_DEASSERT_SOM_PWR_EN |
 			     FPGABOOT_ASSERT_SOM_POR_L_LOAD_L |
 			     FPGABOOT_STOP_TIMER;
-	} else if (event == FPGABOOT_SOM_FPGA_DONE_ASSERTED) {
+	} else if (event == FPGABOOT_TIMER_EXPIRED ||
+		   event == FPGABOOT_SOM_FPGA_DONE_ASSERTED) {
 		*p_state = FPGABOOT_RUNNING;
 		*p_actions = FPGABOOT_STOP_TIMER;
 	}