diff options
author | Sam Wu <yihui.wu@amlogic.com> | 2015-06-18 19:53:34 +0800 |
---|---|---|
committer | Xiaobo Gu <xiaobo.gu@amlogic.com> | 2015-06-18 23:13:50 -0700 |
commit | d089e35fd835da15107204001ac8e227f2008efe (patch) | |
tree | 09e981516093572813f1d2f954c3e2315c2b83fd /fs | |
parent | 6297c8bc44d52b221f5d15672780e6c2481f72b6 (diff) | |
download | u-boot-odroid-c1-d089e35fd835da15107204001ac8e227f2008efe.tar.gz |
[GXBB]factory burning update, support sdcard/udisk burning
1, 'sdc_update' to burning a image from sdcard in fat32 format;
2, 'sdc_burn ' to burn aml_upgrade_package.img in fat32 sdcard;
3, add 'try_auto_burn' when code_boot to auto usb burn without key;
4, for nand boot board, fix devcie_boot_flag error in 'drivers/mmc/mmc';
5, 'usb_update' to burn partition image in udisk;
6, 'usb_burn' to burn aml_upgrade_package.img in fat32 sdcard.
Change-Id: Ic163225dddde05e8f75bc716b05d73859648fde3
Signed-off-by: Sam Wu <yihui.wu@amlogic.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fat/fat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 57af24941a..bccc3e3ed8 100644 --- a/fs/fat/fat.c +++ b/fs/fat/fat.c @@ -43,7 +43,7 @@ static disk_partition_t cur_part_info; #define DOS_FS_TYPE_OFFSET 0x36 #define DOS_FS32_TYPE_OFFSET 0x52 -int disk_read(__u32 block, __u32 nr_blocks, void *buf) +static int disk_read(__u32 block, __u32 nr_blocks, void *buf) { if (!cur_dev || !cur_dev->block_read) return -1; |