[coreboot-gerrit] Change in coreboot[master]: mediatek: refactor to sharing code among similar SOCs