[coreboot-gerrit] Patch merged into coreboot/master: Expose get_lid_switch() in romstage