summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 14ca569)
raw | patch | inline | side by side (parent: 14ca569)
author | Mike Line <m-line1@ti.com> | |
Thu, 28 Oct 2010 18:10:10 +0000 (14:10 -0400) | ||
committer | Mike Line <m-line1@ti.com> | |
Thu, 28 Oct 2010 18:10:10 +0000 (14:10 -0400) |
src/util/romparse/romparse.c | patch | blob | history |
index 50b9f2d0eb9b2430044f69f6cb809754cd05bebd..87f7ee6d711d09c94618036babbf5d20b3a75f6e 100644 (file)
}
/* Compact the i2c eeprom to use the minimum memory possible */
- base = DATA_BASE;
+ base = PCI_PARAM_BASE;
nTables = NUM_BOOT_PARAM_TABLES;
if ((compact != 0) && (pciSet == 0)) {
base = nTables * 0x80; /* The number of parameter tables * size of a parameter table */
}
+ if (pciSet)
+ base = base + PCI_EEAI_PARAM_SIZE;
+
for (i = 0; i < NUM_BOOT_PARAM_TABLES; i++) {
progFile[i].addressBytes = base;
for (i = 0; i < PCI_DATA_LEN_32bit; i++) {
fprintf (str, "0x%08x\n", pciFile.data[i]);
}
- } else {
- for (i = 0; i < PCI_DATA_LEN_32bit; i++) {
- fprintf (str, "0x%08x\n", 0);
- }
}