[PATCH v4 3/5] test: Update comment for fs_helper.setup_image()

Simon Glass sjg at chromium.org
Mon Mar 9 16:13:02 CET 2026


From: Simon Glass <simon.glass at canonical.com>

This function actually allows creating two partitions now, so update its
comment to match that.

Signed-off-by: Simon Glass <simon.glass at canonical.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
---

(no changes since v1)

 test/py/tests/fs_helper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/py/tests/fs_helper.py b/test/py/tests/fs_helper.py
index 4b123ab0afd..47340295fbb 100644
--- a/test/py/tests/fs_helper.py
+++ b/test/py/tests/fs_helper.py
@@ -85,7 +85,7 @@ def mk_fs(config, fs_type, size, prefix, src_dir=None, size_gran = 0x100000,
 
 def setup_image(ubman, devnum, part_type, img_size=20, second_part=False,
                 basename='mmc'):
-    """Create a disk image with a single partition
+    """Create a disk image with one or two partitions
 
     Args:
         ubman (ConsoleBase): Console to use
-- 
2.43.0



More information about the U-Boot mailing list