[coreboot] [RFC]flashrom: improve basic design