Blackfin: dont check baud if it wont actually get used
[oweals/u-boot.git] / api_examples / demo.c
index a8424482ee1251d41c1dd4a220306f7a152a99be..69ac318375a7c2afc6b94eed97f140c05ccce66c 100644 (file)
@@ -226,20 +226,23 @@ void test_dump_si(struct sys_info *si)
        }
 }
 
-static char * test_stor_typ(int type)
+static char *test_stor_typ(int type)
 {
        if (type & DT_STOR_IDE)
                return "IDE";
 
+       if (type & DT_STOR_MMC)
+               return "MMC";
+
+       if (type & DT_STOR_SATA)
+               return "SATA";
+
        if (type & DT_STOR_SCSI)
                return "SCSI";
 
        if (type & DT_STOR_USB)
                return "USB";
 
-       if (type & DT_STOR_MMC);
-               return "MMC";
-
        return "Unknown";
 }