[PATCH 6.1 191/313] firmware: coreboot: Check size of table entry and use flex-array