add boot option support for floppy and USB

Current implementations use ExternalMedia type to specify both CD/DVD/USB
/Floppy. But in IPMI spec, they are different. CD/DVD type is 0x5 and
USB/Floppy type is 0xF.

This causes a bug that we can not force BIOS boots into USB/Floppy.

There is pair change in:
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/21178

Test:
$ ipmitool -H <ip> -P 0penBmc -I lanplus raw
   0x0 0x8 0x5 0x80 0x14 0x00 0x00 0x00
$ ipmitool -H <ip> -P 0penBmc -I lanplus chassis bootparam get 5
   ...
   - Boot Device Selector : Force Boot from CD/DVD
   ...

 $ipmitool -H <ip> -P 0penBmc -I lanplus raw
       0x0 0x8 0x5 0x80 0x3c 0x00 0x00 0x00
 $ipmitool -H <ip> -P 0penBmc -I lanplus chassis bootparam get 5
   ...
  - Boot Device Selector : Force Boot from Floppy/primary removable media
   ...

Change-Id: I8dc2e0fa64e302a5a3797c317125286935929be2
Signed-off-by: jia,chunhui <chunhui.jia@linux.intel.com>
1 file changed