mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
Fix CONFIG_MMC usage in fat code
A #if statement in fat.c depended on CONFIG_MMC, instead of defined(CONFIG_MMC). This meant CONFIG_MMC needed to be defined as "1" rather than just defined. Now it's better. Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
parent
f57d7d364c
commit
21f6f9636f
1 changed files with 1 additions and 1 deletions
|
@ -984,7 +984,7 @@ file_fat_detectfs(void)
|
|||
#if defined(CONFIG_CMD_IDE) || \
|
||||
defined(CONFIG_CMD_SCSI) || \
|
||||
defined(CONFIG_CMD_USB) || \
|
||||
(CONFIG_MMC)
|
||||
defined(CONFIG_MMC)
|
||||
printf("Interface: ");
|
||||
switch(cur_dev->if_type) {
|
||||
case IF_TYPE_IDE : printf("IDE"); break;
|
||||
|
|
Loading…
Reference in a new issue