Documentation/acpi/gpio.md: Fix formatting of table

The table in Documentation/acpi/gpio.md is currently detected as
free-form text (at least by GitHub and recommonmark), instead of a
table. Wrap it in a code formatting block to preserve the manual
formatting.

Change-Id: If460d7f1ba1a6198d949886f0f55fd6254bc2f7a
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/25679
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Jonathan Neuschäfer 2018-04-09 13:04:25 +02:00 committed by Patrick Georgi
parent b709b50a36
commit 9f79d60910
1 changed files with 2 additions and 0 deletions

View File

@ -92,6 +92,7 @@ functions to return values. This means that the driver code should not
make any assumptions about the values in Local5, Local6 and Local7 make any assumptions about the values in Local5, Local6 and Local7
variables. variables.
```
**Function** **Operation** **Return** **Function** **Operation** **Return**
acpigen_soc_read_rx_gpio Generate ACPI AML code to Error = -1 acpigen_soc_read_rx_gpio Generate ACPI AML code to Error = -1
read value of Rx in Local0. Success = 0 read value of Rx in Local0. Success = 0
@ -101,6 +102,7 @@ variables.
set Tx to 1. Success = 0 set Tx to 1. Success = 0
acpigen_soc_clear_tx_gpio Generate ACPI AML code to Error = -1 acpigen_soc_clear_tx_gpio Generate ACPI AML code to Error = -1
set Tx to 0. Success = 0 set Tx to 0. Success = 0
```
Ideally, the operation column in the above table should use one or Ideally, the operation column in the above table should use one or
more functions implemented by the platform in AML code library (like more functions implemented by the platform in AML code library (like