From 87cedcb3c65309d672b26987b113562096c28d03 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 19 Dec 2015 14:20:06 +0000 Subject: modify nvramembed.c to work with our images --- hostTools/nvramembed.c | 4 ++++ 1 file changed, 4 insertions(+) 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" ); -- cgit v1.2.3