Fix 'reboot' console command
Fix 'reboot' console command

BUG=chrome-os-partner:12155
TEST=Check 'reboot' command works with the following parameters:
       - No parameter
       - 'hard'
       - 'soft'
       - 'hard ap-off'
       - 'soft ap-off'
       - 'soft preserve'
       - 'hard ap-off preserve'

Change-Id: Ib54d6a0fe419ff7b47265698fae2fcd554f707d4
Reviewed-on: https://gerrit.chromium.org/gerrit/29017
Reviewed-by: Vincent Palatin <70a9964ec8fd10b0b08fcc8623c2add25ddf99ac@chromium.org>
Reviewed-by: Randall Spangler <62698fdbb84d1779579ee80c3f39fac22017e5bc@chromium.org>
Commit-Ready: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>
Tested-by: Vic Yang <5fd92abeee651458f98e2856f4f200ee971cee4d@chromium.org>

fourier49/BZ_DEV_EC,fourier49/BIZ_EC,md5555/ec,fourier49/BIZ_EC,coreboot/chrome-ec,fourier49/BIZ_EC,alterapraxisptyltd/chromium-ec,gelraen/cros-ec,thehobn/ec,fourier49/BIZ_EC,fourier49/BZ_DEV_EC,md5555/ec,coreboot/chrome-ec,md5555/ec,mtk09422/chromiumos-platform-ec,gelraen/cros-ec,akappy7/ChromeOS_EC_LED_Diagnostics,gelraen/cros-ec,fourier49/BZ_DEV_EC,coreboot/chrome-ec,md5555/ec,gelraen/cros-ec,eatbyte/chromium-ec,akappy7/ChromeOS_EC_LED_Diagnostics,akappy7/ChromeOS_EC_LED_Diagnostics,longsleep/ec,mtk09422/chromiumos-platform-ec,mtk09422/chromiumos-platform-ec,eatbyte/chromium-ec,coreboot/chrome-ec,alterapraxisptyltd/chromium-ec,alterapraxisptyltd/chromium-ec,fourier49/BZ_DEV_EC,coreboot/chrome-ec,longsleep/ec,coreboot/chrome-ec,eatbyte/chromium-ec,thehobn/ec,akappy7/ChromeOS_EC_LED_Diagnostics,thehobn/ec,alterapraxisptyltd/chromium-ec,eatbyte/chromium-ec,longsleep/ec,thehobn/ec,longsleep/ec,mtk09422/chromiumos-platform-ec,akappy7/ChromeOS_EC_LED_Diagnostics