From 92882138d33bea91868b3c7935500e257ca006c4 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Wed, 24 Apr 2024 11:28:47 +0200 Subject: [PATCH] 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 --- doc/configuration.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/configuration.rst b/doc/configuration.rst index cb4d8dd82..a4c83b040 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -2493,7 +2493,7 @@ Implements: drivers: UUUDriver: image: 'mybootloaderkey' - cmd: 'spl' + script: 'spl' images: mybootloaderkey: 'path/to/mybootloader.img' @@ -2501,7 +2501,7 @@ Implements: Arguments: - image (str): optional, key in :ref:`images ` containing the path of an image to bootstrap onto the target - - script (str): run built-in script with ``uuu -b``, called with image as arg0 + - script (str): optional, run built-in script with ``uuu -b``, called with image as arg0 USBStorageDriver ~~~~~~~~~~~~~~~~