[coreboot] [RFC][PATCH] v3: kill duplicated function