Naresh Solanki has uploaded this change for review.

View Change

cbfstool: Update FIT entry type for MCU

FIT entry for MCU should have type set to FIT_TYPE_MICROCODE.

Change-Id: I7edd25dd1953cb827ba919554c675759e47491c4
Signed-off-by: Naresh G Solanki <naresh.solanki@intel.com>
---
M util/cbfstool/fit.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/88/27288/1
diff --git a/util/cbfstool/fit.c b/util/cbfstool/fit.c
index 31ab3de..1ed16ce 100644
--- a/util/cbfstool/fit.c
+++ b/util/cbfstool/fit.c
@@ -183,7 +183,7 @@
*/
entry->size_reserved = 0x0000;
/* Checksum valid should be cleared for MCU */
- entry->type_checksum_valid = 0;
+ entry->type_checksum_valid = FIT_TYPE_MICROCODE;
entry->version = FIT_MICROCODE_VERSION;
entry->checksum = 0;
fit_entry_add_size(&fit->header, sizeof(struct fit_entry));

To view, visit change 27288. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7edd25dd1953cb827ba919554c675759e47491c4
Gerrit-Change-Number: 27288
Gerrit-PatchSet: 1
Gerrit-Owner: Naresh Solanki <naresh.solanki@intel.com>