mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 18:34:42 +00:00
test: Add support to create a fat12 fs
This enables to implement tests for fat12 filesystem. Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
This commit is contained in:
parent
c489937a6f
commit
764b411824
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ def mk_fs(config, fs_type, size, prefix):
|
|||
fs_img = f'{prefix}.{fs_type}.img'
|
||||
fs_img = os.path.join(config.persistent_data_dir, fs_img)
|
||||
|
||||
if fs_type == 'fat16':
|
||||
if fs_type == 'fat12':
|
||||
mkfs_opt = '-F 12'
|
||||
elif fs_type == 'fat16':
|
||||
mkfs_opt = '-F 16'
|
||||
elif fs_type == 'fat32':
|
||||
mkfs_opt = '-F 32'
|
||||
|
|
Loading…
Add table
Reference in a new issue