The attached patch adds generalized support for IT8500/IT8502 embedded controllers.

The patch was developed by Google for Flashrom r1082, but applies cleanly against r1130.

It was tested for IT8500E on a Chrome OS platform and may require modification

depending on ODM/OEM customization and EC firmware version.

 

This patch is not officially supported by ITE Tech Inc.

 

Signed-off by: Donald Huang (donald.huang@ite.com.tw)

Signed-off by: Yung-chieh Lo (yjlou@google.com)

Signed-off by: David Hendricks (dhendrix@google.com)