]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UefiBootManagerLib: Generate boot description for SD/eMMC
authorHao Wu <hao.a.wu@intel.com>
Mon, 4 Sep 2017 02:18:41 +0000 (10:18 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 6 Sep 2017 01:52:17 +0000 (09:52 +0800)
commit3f3a69b87a2d9b8e0186f6c078302614f55a3357
tree91fd87fbe9d1f71b56c856d4201193fa312520cb
parent56e88e9e5f980e30f28d907e0ff442e4dc8dc5de
MdeModulePkg/UefiBootManagerLib: Generate boot description for SD/eMMC

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=620

Adds the support for SD/eMMC device path to show as a boot option.

The CID register content (returned from DiskInfo->Inquiry) seems do not
provide very useful/readable 'OEM/Application ID' and 'Product name'
field.

For SD devices, the OID is a 2-character ASCII string and the Product name
is a 5-character ASCII string.

For eMMC devices, the OID is an 8-bit binary number and the Product name
is a 6-character ASCII string.

These strings are relatively short and do not provide a very readable
description. Hence, this commit uses general 'SD (eMMC) Device' for the
boot option description.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
MdeModulePkg/Library/UefiBootManagerLib/BmBootDescription.c
MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf