]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blobdiff - src/util/romparse/romparse.c
c66x: corrected PREDIV and updated size limitations in utils
[keystone-rtos/ibl.git] / src / util / romparse / romparse.c
index d87b48db2a307975c509bc379494f85a86202220..b6b295ea5f2edefc7514d47d16b09864f972f132 100755 (executable)
@@ -1,6 +1,6 @@
 /*
  *
 /*
  *
- * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2010-2017 Texas Instruments Incorporated - http://www.ti.com/
  *
  *
  *  Redistribution and use in source and binary forms, with or without
  *
  *
  *  Redistribution and use in source and binary forms, with or without
@@ -505,7 +505,7 @@ void assignKeyVal (int field, int value)
 
 #if (defined(c66x) || defined(c665x) || defined(c66xk2x))
         case SWPLL_PREDIV:    current_table.common.swPllCfg_lsw &= 0x00ff;
 
 #if (defined(c66x) || defined(c665x) || defined(c66xk2x))
         case SWPLL_PREDIV:    current_table.common.swPllCfg_lsw &= 0x00ff;
-                              current_table.common.swPllCfg_lsw |= ((value & 0xff) << 16);
+                              current_table.common.swPllCfg_lsw |= ((value & 0xff) << 8);
                               break;
 
         case SWPLL_MULT:      current_table.common.swPllCfg_msw &= 0xc000;
                               break;
 
         case SWPLL_MULT:      current_table.common.swPllCfg_msw &= 0xc000;