[flashrom] use the code in github