Subversion Repositories freemyipod

Rev

Rev 54 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 54 Rev 58
Line 739... Line 739...
739
        nand_tunk3[i] = 7;
739
        nand_tunk3[i] = 7;
740
        type = nand_get_chip_type(i);
740
        type = nand_get_chip_type(i);
741
        if (type == 0xFFFFFFFF) continue;
741
        if (type == 0xFFFFFFFF) continue;
742
        for (j = 0; ; j++)
742
        for (j = 0; ; j++)
743
        {
743
        {
744
            if (j == sizeof(nand_deviceinfotable) / sizeof(nand_deviceinfotable[0])) break;
744
            if (j == ARRAYLEN(nand_deviceinfotable)) break;
745
            else if (nand_deviceinfotable[j].id == type)
745
            else if (nand_deviceinfotable[j].id == type)
746
            {
746
            {
747
                nand_type[i] = j;
747
                nand_type[i] = j;
748
                break;
748
                break;
749
            }
749
            }