Fix for slow I2C boot on C6678/C6670 EVM's
authorSandeep Nair <sandeep_n@ti.com>
Wed, 8 Jun 2011 23:54:02 +0000 (19:54 -0400)
committerSandeep Nair <sandeep_n@ti.com>
Wed, 8 Jun 2011 23:54:02 +0000 (19:54 -0400)
FIx for booting multiple images

src/main/iblmain.c
src/make/ibl_c66x/i2crom.map.pre

index d376487ed70288e2096af6de756d10a19c94a7d1..0dc44a8167524799d008bb871b5f42bb3f577b24 100644 (file)
@@ -309,7 +309,7 @@ void main (void)
             }
             boot_mode_idx = boot_para_idx/ibl_N_IMAGES;
             /* Get the boot image index */
-            iblImageIdx == boot_para_idx & (ibl_N_IMAGES - 1);
+            iblImageIdx = boot_para_idx & (ibl_N_IMAGES - 1);
 
             iblStatus.activeBoot = ibl.bootModes[boot_mode_idx].bootMode;
 
index 72e8cbcaa095fc07486da5db1cdcdc26432c7df9..8f8f83f04ab24786c2a2e1f325cdb0d82d60e164 100644 (file)
@@ -19,7 +19,147 @@ section
   sw_pll_postdiv = 2
   options        = 1
 
-  core_freq_mhz    = 625
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 1
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 2
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 3
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 4
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 5
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 6
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
+  i2c_clk_freq_khz = 200
+
+  dev_addr_ext = I2C_BUS_ADDR
+
+  multi_i2c_id = 0
+  my_i2c_id    = 1
+  address_delay = 0
+  exe_file = INIT_EXE_FILE
+}
+
+section 
+{
+  param_index    = 7
+  boot_mode      = 40
+  sw_pll_prediv         = 1
+  sw_pll_mult    = 16
+  sw_pll_postdiv = 2
+  options        = 1
+
+  core_freq_mhz    = 100
   i2c_clk_freq_khz = 200
 
   dev_addr_ext = I2C_BUS_ADDR