summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2016-02-16 23:00:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-17 09:10:49 +0100
commit2629cc9d46993b28292f3455093203d7d9fff18c (patch)
tree967de3e4c3bb94ff28d1a228060681037595bb65 /Documentation
parent233a2fbd9f805a1534eeb72fd43ced709b372b93 (diff)
downloadbarebox-2629cc9d46993b28292f3455093203d7d9fff18c.tar.gz
barebox-2629cc9d46993b28292f3455093203d7d9fff18c.tar.xz
Documentation: usb: fix otg mode parameter description
Replace ``device`` otg.mode option with the correct ``peripheral``. Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/user/usb.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
index 9eb1437135..99158a2676 100644
--- a/Documentation/user/usb.rst
+++ b/Documentation/user/usb.rst
@@ -151,7 +151,7 @@ barebox does not have USB OTG support. However, barebox supports some USB cores
both host and device mode. If these are specified for otg in the device tree
(dr_mode = "otg";) barebox registers a OTG device which can be used to decide which
mode shall be used. The device has a ``mode`` parameter which by default has the
-value ``otg``. setting this to ``host`` or ``device`` puts the device in the corresponding
+value ``otg``. setting this to ``host`` or ``peripheral`` puts the device in the corresponding
mode. Once a specific mode has been selected it can't be changed later anymore.
.. code-block:: sh