]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - fs/fat/fat.c
Merge branch 'agust@denx.de-next' of git://git.denx.de/u-boot-staging
[karo-tx-uboot.git] / fs / fat / fat.c
index 41ae15eeb976e74e7fab805be15364d52c390563..80156c815f8e392bc01809cbcc31b87ed3757e9a 100644 (file)
@@ -85,7 +85,7 @@ int fat_register_device(block_dev_desc_t * dev_desc, int part_no)
 
        /* Otherwise it might be a superfloppy (whole-disk FAT filesystem) */
        if (!cur_dev) {
-               if (part_no != 1) {
+               if (part_no != 0) {
                        printf("** Partition %d not valid on device %d **\n",
                                        part_no, dev_desc->dev);
                        return -1;