Adpoted patch from http://patchwork.coreboot.org/user/bundle/37/ for layout support for read ops and new code for verify. Doesn't read whole chip when writing regions, useful when some regions are locked (e.g. ME).
DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING
If flashrom can't erase desired blocks for some reason, it can erase the whole chip.