summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-01-23 19:07:00 -0500
committerTom Rini <[email protected]>2021-01-23 19:07:00 -0500
commit69d29fe1c0aeb33f42633a75555d30b7921c02aa (patch)
treeb3b960b8e0b89202e0f8389efc4c79bdc3299a49 /include
parente716c9022970dac9be15856a6651a07132463578 (diff)
parent8d0949b3ed6985377682d7ec260be07ef26ef6d4 (diff)
Merge tag 'efi-2021-04-rc1-3' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
Pull request for UEFI sub-system for efi-2021-04-rc1-3 Bug fixes for UEFI sub-system: * correct value of EFI_BLOCK_IO_PROTOCOL.Media.LastBlock * correct GUID when closing of EFI_LOAD_FILE_PROTOCOL * error handling in mkeficapsule tool Bug fixes for FAT file system: * consistent error handling for flush dir()
Diffstat (limited to 'include')
-rw-r--r--include/fat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/fat.h b/include/fat.h
index b9f273f381f..bd8e450b33a 100644
--- a/include/fat.h
+++ b/include/fat.h
@@ -132,8 +132,13 @@ typedef struct volume_info
#define CASE_LOWER_BASE 8 /* base (name) is lower case */
#define CASE_LOWER_EXT 16 /* extension is lower case */
+struct nameext {
+ char name[8];
+ char ext[3];
+};
+
typedef struct dir_entry {
- char name[8],ext[3]; /* Name and extension */
+ struct nameext nameext; /* Name and extension */
__u8 attr; /* Attribute bits */
__u8 lcase; /* Case for name and ext (CASE_LOWER_x) */
__u8 ctime_ms; /* Creation time, milliseconds */