summaryrefslogtreecommitdiff
path: root/Documentation/acpi
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-04-09 13:04:25 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-04-16 08:45:40 +0000
commit9f79d6091044dc1bf93cf1759b0a44fda1e99965 (patch)
treefcc870a5c89df33040307fb393be3f9355976cea /Documentation/acpi
parentb709b50a36dd3c06a59e19406ba38d41abf2dd8a (diff)
downloadcoreboot-9f79d6091044dc1bf93cf1759b0a44fda1e99965.tar.xz
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>
Diffstat (limited to 'Documentation/acpi')
-rw-r--r--Documentation/acpi/gpio.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/acpi/gpio.md b/Documentation/acpi/gpio.md
index a3685b8cbb..d42042f36f 100644
--- a/Documentation/acpi/gpio.md
+++ b/Documentation/acpi/gpio.md
@@ -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
variables.
+```
**Function** **Operation** **Return**
acpigen_soc_read_rx_gpio Generate ACPI AML code to Error = -1
read value of Rx in Local0. Success = 0
@@ -101,6 +102,7 @@ variables.
set Tx to 1. Success = 0
acpigen_soc_clear_tx_gpio Generate ACPI AML code to Error = -1
set Tx to 0. Success = 0
+```
Ideally, the operation column in the above table should use one or
more functions implemented by the platform in AML code library (like