This tool is used to genereate capsule file for uCode update.

Parameters:
  a) --fw-version <UINT32>
  b) --lsv <UINT32>
  c) --fw-version-string <CHAR16 string>
  d) --mode/-m <uCodeBGUP | uCodeFull | uCodeSlot>

  1) Only --mode/-m parameter is requried, others are optional, and this option is case insensitive.

Example:
  capsulebuild.bat ucode --fw-version 0x5678 --lsv 0x1234 --fw-version-string "Version 5.6.7.8" -m ucodebgup
  python NewGenCap.py --fw-version 0x5678 --lsv 0x1234 --fw-version-string "Version 5.6.7.8" -m ucodebgup
  python NewGenCap.py -m ucodebgup

Notes:
  a) The --fw-version, --lsv, --fw-version-string are optional, the default value already defined in prep.bat
  b) Please run "prep.bat c" before run this script.
