comparison loadtools/flutil.c @ 407:f2cc551e597f

fc-loadtool flash: beginning of Intel command set support
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 17 Jun 2014 01:39:59 +0000
parents a212b4968b29
children
comparison
equal deleted inserted replaced
406:0b8e5072abde 407:f2cc551e597f
77 if (!bi->ops) { 77 if (!bi->ops) {
78 switch (cmdset_id) { 78 switch (cmdset_id) {
79 case 2: 79 case 2:
80 bi->ops = &flash_cmdset_amd; 80 bi->ops = &flash_cmdset_amd;
81 break; 81 break;
82 #if 0
83 case 3: 82 case 3:
84 bi->ops = &flash_cmdset_intel; 83 bi->ops = &flash_cmdset_intel;
85 break; 84 break;
86 #endif
87 default: 85 default:
88 fprintf(stderr, "error: command set %04X unsupported\n", 86 fprintf(stderr, "error: command set %04X unsupported\n",
89 cmdset_id); 87 cmdset_id);
90 amd_reset_cmd(bi); 88 amd_reset_cmd(bi);
91 return(-1); 89 return(-1);