doc: update BDF information for 'uart=' hypervisor parameter

The 'uart=' parameter for the hypervisor takes multiple forms. One
is to specify the BDF (Bus, Device, Function) value of the serial
port PCI device. The description in the documentation used the
previous format (e.g. '0:18.1') but a 16-bit WORD in HEX needs
to be passed nowadays. E.g.: '0:18.1' is specified by 'uart=0xc1'

Tracked-On: #5842
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Signed-off-by: Benjamin Fitch <benjamin.fitch@intel.com>
This commit is contained in:
Geoffroy Van Cutsem
2021-03-12 13:25:16 +01:00
committed by fitchbe
parent fceeb0b511
commit a7e53dd32f
2 changed files with 7 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ static struct uart_cmd {
int type;
} cmd_list[] = {
{ "uart=port@", PIO }, /* uart=port@0x3F8 */
{ "uart=bdf@", PCI }, /* uart=bdf@0:18.2 */
{ "uart=bdf@", PCI }, /* uart=bdf@0xc1 */
{ "uart=mmio@", MMIO }, /* uart=mmio@0xfe040000 */
{ "uart=disabled", INVALID }
};