]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blobdiff - src/main/iblinit.c
Added support for NOR/EMAC boot for C6670
[keystone-rtos/ibl.git] / src / main / iblinit.c
index ffd62f5f6275b7106ea4773159cec1a31f5b5758..065ba993d1e2a59e81eb797f81d8d350f85b0713 100644 (file)
@@ -315,15 +315,7 @@ void iblSwap (void)
             ibl.bootModes[i].u.nandBoot.nandInfo.blockOffset   = swap32val(ibl.bootModes[i].u.nandBoot.nandInfo.blockOffset);
             ibl.bootModes[i].u.nandBoot.nandInfo.pageOffset    = swap32val(ibl.bootModes[i].u.nandBoot.nandInfo.pageOffset);
             ibl.bootModes[i].u.nandBoot.nandInfo.columnOffset  = swap32val(ibl.bootModes[i].u.nandBoot.nandInfo.columnOffset);
-            /*for (j = 0; j < ibl_N_ECC_BYTES; j++)
-            {
-                ibl.bootModes[i].u.nandBoot.nandInfo.eccBytesIdx[j] = swap32val(ibl.bootModes[i].u.nandBoot.nandInfo.eccBytesIdx[j]);
-            }
-            for (j = 0; j < ibl_N_BAD_BLOCK_PAGE; j++)
-            {
-                ibl.bootModes[i].u.nandBoot.nandInfo.badBlkMarkIdx[j] = swap32val(ibl.bootModes[i].u.nandBoot.nandInfo.badBlkMarkIdx[j]);
-            }
-            ibl.bootModes[i].u.nandBoot.nandInfo.postCommand      = swap16val(ibl.bootModes[i].u.nandBoot.nandInfo.postCommand);*/
+            ibl.bootModes[i].u.nandBoot.nandInfo.postCommand   = swap16val(ibl.bootModes[i].u.nandBoot.nandInfo.postCommand);
         }  else if (ibl.bootModes[i].bootMode == ibl_BOOT_MODE_NOR)  {
             ibl.bootModes[i].u.norBoot.bootFormat         = swap32val(ibl.bootModes[i].u.norBoot.bootFormat);
             for (j = 0; j < ibl_N_ENDIANS; j++)