[coreboot-gerrit] Change in coreboot[master]: amdfwtool: Move the field filling into function