Move utility functions into new source files

Corresponding to flashrom svn r6 and coreboot v2 svn r1428.
6 files changed