2016-01-30 19:06 GMT+01:00 John Brown multitor4@gmail.com:
Good day! I applied your most recent KB9012 flashrom patch to the latest flashrom copy, and tried to compile it for testing with my KB9012 chip. However, I have encountered the following error:
flashchips.c:3209:19: error: 'FEATURE_ERASED_ZERO' undeclared here (not in a function) .feature_bits = FEATURE_ERASED_ZERO, ^ make: *** [flashchips.o] Error 1
FEATURE_ERASED_ZERO is not declared anywhere, neither in latest flashrom revisions, nor in older flashrom revisions. Dont know why nobody noticed this problem before me...
It is defined in a pending patch: http://www.flashrom.org/pipermail/flashrom/2015-November/013969.html
Then, I thought it could be a good idea to replace this undeclared value with zero: .feature_bits = 0,
FEATURE_ERASED_ZERO definitely does not equal 0.