gooftool: fix the detection of cr50 factory mode status.

The current way to query factory mode is done by checking CCD caps bitmap but
this value will be changed if new CCD capability is introduced. For example,
bitpmap becomes 0x7ffff started from 0.4.10. The long term plan is to ask
gsctool/cr50 to report factory mode status directly (b/117200472); for short
term plan 0x?ffff would be checked.

BUG=b:117200472
BUG=b:117199194
TEST=manually test on the DUT

Change-Id: Ibfe5c61ec08bcc1f6f534b70f4ce7ea498b0e474
Reviewed-on: https://chromium-review.googlesource.com/1260533
Commit-Ready: Marco Chen <marcochen@chromium.org>
Tested-by: Marco Chen <marcochen@chromium.org>
Reviewed-by: Cheng-Han Yang <chenghan@chromium.org>
diff --git a/py/gooftool/commands.py b/py/gooftool/commands.py
index 58011cf..daa5826 100755
--- a/py/gooftool/commands.py
+++ b/py/gooftool/commands.py
@@ -407,7 +407,7 @@
   event_log.Log('cr50_set_board_id')
 
 
-@Command('cr50_disable_rma_mode')
+@Command('cr50_disable_factory_mode')
 def Cr50DisableFactoryMode(options):
   """Reset Cr50 state back to default state after RMA."""
   return GetGooftool(options).Cr50DisableFactoryMode()