• Wolfgang Denk's avatar
    EXT4: Fix number base handling of "ext4write" command · f7740f77
    Wolfgang Denk authored
    Unlike other commands (for example, "fatwrite"), ext4write would
    interpret the "sizebytes" as decimal number.  This is not only
    inconsistend and unexpected to most users, it also breaks usage
    like this:
    
    	tftp ${addr} ${name}
    	ext4write mmc 0:2 ${addr} ${filename} ${filesize}
    
    Change this to use the standard notation of base 16 input format.
    See also commit b770e88a
    
    WARNING: this is a change to the user interface!!
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Uma Shankar <uma.shankar@samsung.com>
    Cc: Stephen Warren <swarren@nvidia.com>
    f7740f77
cmd_ext4.c 3.03 KB