Skip to content

Commit 9288213

Browse files
committed
doc/configuration: UUUDriver: align example with reality
Besides the image name, the UUUDriver supports a script attribute. This is described in the Arguments: section, but not in the example, which uses the non-existent cmd attribute instead. Fix that and while at it, correctly indicate that script is optional. Omitting it will just remove the -b $script from the uuu invocation. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
1 parent b61bf55 commit 9288213

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,15 +2493,15 @@ Implements:
24932493
drivers:
24942494
UUUDriver:
24952495
image: 'mybootloaderkey'
2496-
cmd: 'spl'
2496+
script: 'spl'
24972497
24982498
images:
24992499
mybootloaderkey: 'path/to/mybootloader.img'
25002500
25012501
Arguments:
25022502
- image (str): optional, key in :ref:`images <labgrid-device-config-images>` containing the path
25032503
of an image to bootstrap onto the target
2504-
- script (str): run built-in script with ``uuu -b``, called with image as arg0
2504+
- script (str): optional, run built-in script with ``uuu -b``, called with image as arg0
25052505

25062506
USBStorageDriver
25072507
~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)