It's a step in the right direction, and compiles for (and runs) on my Tegra2 test platform, so:

Acked-by: David Hendricks <dhendrix@google.com>

 
> David: This is mostly your code (I only extracted it from the chromium
> branch of flashrom), could you sign off on it?

All code in this patch ported from chromium.org is:
Signed-off-by: David Hendricks <dhendrix@google.com>

--
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.