
On Thu, Jan 19, 2023 at 04:16:24PM +0100, Heinrich Schuchardt wrote:
On 1/19/23 16:13, Tom Rini wrote:
On Thu, Jan 19, 2023 at 04:11:48PM +0100, Heinrich Schuchardt wrote:
UEFI applications call file system functions to determine if a file exists. The return codes are evaluated to show appropriate messages. U-Boot's file system layer should not interfere with the output.
Rename file_fat_read_at() to fat_read_file() adjusting the parameter sequence and names and eliminate the old wrapper function.
Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
With this change, what is the output when you "fatload" a non-existent file?
=> host bind 0 ../../sandbox.img => fatload host 0:1 $loadaddr voodoo Failed to load 'voodoo'
Thanks.
Reviewed-by: Tom Rini trini@konsulko.com