fpsensor: Make fpcapture and fpenroll restricted
fpsensor: Make fpcapture and fpenroll restricted

There should be no functional difference to fpcapture or fpenroll,
since the restricted console command feature is implemented in a
similar manor.
The only noticeable difference is that the list of commands provided
by the "help" command should denote when these commands are restricted.

Note, each board requires a configuration, similar
to crrev.com/c/1867388, in order to activate restricted
console commands. Otherwise, this restricted flag has no
restricting effect.

BRANCH=nocturne
BRANCH=hatch
BUG=b:142559996, b:142505927
TEST=# Test on nocturne_fp
     make BOARD=nocturne_fp
     scp build/nocturne_fp/ec.bin dut1:~/
     ssh dut1 flash_fp_mcu ./ec.bin
     # From FPMCU UART console
     version
     # Ensure that version is custom based on workstation
     help
     # Ensure that fpcapture and fpenroll are not prefixed
     # with "-"
     help list
     # Ensure that a "Flags" column exists and that
     # fpcapture and fpenroll both have a 1 in the column.
     fpcapture
     fpenroll
     # Ensure that both commands above succeed in their
     # own operations
     syslock
     fpcapture
     fpenroll
     # Ensure that both commands above fail with "Access Denied"
     help
     # Ensure that fpcapture and fpenroll are now prefixed
     # with "-" in the help message

Change-Id: Icbb74a1afece66db9ebd071de0770650d42bd553
Signed-off-by: Craig Hesling <383db090fd8ef907a606ac8a9eccd2962bc489cf@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1869400
Reviewed-by: Daisuke Nojiri <fd5f93af191bf7e8f73ea71cc3c0f66b41b1dd49@chromium.org>
Reviewed-by: Tom Hughes <fc5c12f30a5ed2baa0581f44ee14ad1eb7b20d83@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec