commit | 0c672b00b3f51d7e768485447ebfbb18025908ef | [log] [tgz] |
---|---|---|
author | AKASHI Takahiro <takahiro.akashi@linaro.org> | Tue Sep 11 15:59:12 2018 +0900 |
committer | Alexander Graf <agraf@suse.de> | Sun Sep 23 21:55:30 2018 +0200 |
tree | 4721613924081fef4b83793d4b2979ef6789e1fd | |
parent | e31874ec0b94a123d2c4f8a231e0bde58c7ab962 [diff] |
efi_loader: file: support creating a directory In efi world, there is no obvious "mkdir" interface, instead, Open() with EFI_FILE_MODE_CREATE in mode parameter and EFI_FILE_DIRECTORY in attributes parameter creates a directory. In this patch, efi_file_open() is extended so as to accept such a combination of parameters and call u-boot's mkdir interface for expected action. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Signed-off-by: Alexander Graf <agraf@suse.de>