]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - disk/part_dos.c
ERIC: drop unsupported board configuration
[karo-tx-uboot.git] / disk / part_dos.c
index 887b75ec8874fb409d08e2c13098fcd3cba9806c..2de1bb83b7d8631cd43d2acb123d7cacb820efe0 100644 (file)
@@ -77,8 +77,10 @@ static int test_block_type(unsigned char *buffer)
            (buffer[DOS_PART_MAGIC_OFFSET + 1] != 0xaa) ) {
                return (-1);
        } /* no DOS Signature at all */
-       if(strncmp((char *)&buffer[DOS_PBR_FSTYPE_OFFSET],"FAT",3)==0)
+       if (strncmp((char *)&buffer[DOS_PBR_FSTYPE_OFFSET],"FAT",3)==0 ||
+           strncmp((char *)&buffer[DOS_PBR32_FSTYPE_OFFSET],"FAT32",5)==0) {
                return DOS_PBR; /* is PBR */
+       }
        return DOS_MBR;     /* Is MBR */
 }