[PATCH v3 2/9] test: spl: Remove usage of FAT32_SIGN

christian.taedcke-oss at weidmueller.com christian.taedcke-oss at weidmueller.com
Wed Nov 15 13:44:17 CET 2023


From: Christian Taedcke <christian.taedcke at weidmueller.com>

FAT32_SIGN is removed in the following commits.

Signed-off-by: Christian Taedcke <christian.taedcke at weidmueller.com>
---

(no changes since v2)

Changes in v2:
- Move code change in test/image/spl_load_fs.c into separate commit

 test/image/spl_load_fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/image/spl_load_fs.c b/test/image/spl_load_fs.c
index 297ab08a82..90e640b5de 100644
--- a/test/image/spl_load_fs.c
+++ b/test/image/spl_load_fs.c
@@ -220,7 +220,7 @@ static size_t create_fat(void *dst, size_t size, const char *filename,
 	bs->root_cluster = cpu_to_le32(root_sector);
 
 	vi->ext_boot_sign = 0x29;
-	memcpy(vi->fs_type, FAT32_SIGN, sizeof(vi->fs_type));
+	memcpy(vi->fs_type, "FAT32   ", sizeof(vi->fs_type));
 
 	memcpy(dst + 0x1fe, "\x55\xAA", 2);
 
-- 
2.34.1



More information about the U-Boot mailing list