mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
fs/fat: handle FAT on SATA
The FAT file system driver should also handle FAT on SATA devices. Signed-off-by: Sonic Zhang <Sonic.Zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
97a24a78ee
commit
8c5170a7d0
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,7 @@ fat_register_device(block_dev_desc_t *dev_desc, int part_no)
|
|||
return -1;
|
||||
}
|
||||
#if (defined(CONFIG_CMD_IDE) || \
|
||||
defined(CONFIG_CMD_SATA) || \
|
||||
defined(CONFIG_CMD_SCSI) || \
|
||||
defined(CONFIG_CMD_USB) || \
|
||||
defined(CONFIG_MMC) || \
|
||||
|
@ -980,12 +981,14 @@ file_fat_detectfs(void)
|
|||
return 1;
|
||||
}
|
||||
#if defined(CONFIG_CMD_IDE) || \
|
||||
defined(CONFIG_CMD_SATA) || \
|
||||
defined(CONFIG_CMD_SCSI) || \
|
||||
defined(CONFIG_CMD_USB) || \
|
||||
defined(CONFIG_MMC)
|
||||
printf("Interface: ");
|
||||
switch(cur_dev->if_type) {
|
||||
case IF_TYPE_IDE : printf("IDE"); break;
|
||||
case IF_TYPE_SATA : printf("SATA"); break;
|
||||
case IF_TYPE_SCSI : printf("SCSI"); break;
|
||||
case IF_TYPE_ATAPI : printf("ATAPI"); break;
|
||||
case IF_TYPE_USB : printf("USB"); break;
|
||||
|
|
Loading…
Reference in a new issue