[coreboot-gerrit] Change in coreboot[master]: mediatek: Refactor SPI code among similar SOCs