summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <root@lamia.panaceas.james.local>2015-12-19 14:20:06 +0000
committerroot <root@lamia.panaceas.james.local>2015-12-19 14:20:06 +0000
commit87cedcb3c65309d672b26987b113562096c28d03 (patch)
treeaa0e21f7575f6a136a312fca95961c8875d37807
parent71478fd62d8483483abb34609cdabb7f9cbadfd6 (diff)
downloadbootloader-87cedcb3c65309d672b26987b113562096c28d03.tar.gz
bootloader-87cedcb3c65309d672b26987b113562096c28d03.tar.bz2
bootloader-87cedcb3c65309d672b26987b113562096c28d03.zip
modify nvramembed.c to work with our images
-rw-r--r--hostTools/nvramembed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostTools/nvramembed.c b/hostTools/nvramembed.c
index 704d7e1..0240297 100644
--- a/hostTools/nvramembed.c
+++ b/hostTools/nvramembed.c
@@ -201,8 +201,10 @@ int fillInOutputBuffer(int cfesize, int numOfMac, unsigned char *ucaBaseMac,
memcpy( pszOut, pszIn, ulCfeLen );
// add board thread number in the CFE space
+#if 0
BpGetCMTThread(&ulCmtThread);
memcpy(pszOut + THREAD_NUM_ADDRESS_OFFSET, (char*)&ulCmtThread, sizeof(int));
+#endif
// add memory size type in the CFE space
sdramType = htonl(sdramType);
@@ -377,6 +379,7 @@ int main (int argc, char **argv)
if (szBoardId[0] != '\0')
{
BpSetBoardId( szBoardId );
+#if 0
if( BpGetSdramSize( (unsigned long *) &sdramType ) == BP_SUCCESS )
{
switch (sdramType)
@@ -397,6 +400,7 @@ int main (int argc, char **argv)
break;
}
}
+#endif
}
printf("nvramembed: Embed the NVRAM with the following inputs:\n" );