Ignore:
Timestamp:
Jun 30, 2013, 8:28:58 PM (11 years ago)
Author:
cfuguet
Message:

Modifications in tsar_boot:

  • Creating new files boot_utils.[c h] containing the memcpy, memset and some ELF format debug functions
  • Introducing assert in the boot_elf_loader to show an error when some of segments to load conflicts with some of the pre-loader segments
  • Cosmetic changes in boot_elf_loader to improve code readibility
  • Fixing bug in dcache_buf_invalidate function used by boot_ioc_read when cache coherence not supported. The condition in the for loop was erroneous.
  • Modification in Makefile: The SYSCLK_FREQ parameter is not passed anymore

as a Makefile parameter but it is definesd in the defs_platform.h file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/boot_ioc.c

    r412 r425  
    55static struct sdcard_dev  _sdcard_device;
    66static struct spi_dev   * _spi_device   = ( struct spi_dev * )IOC_BASE;
    7 
    8 #ifndef SYSCLK_FREQ
    9 #warning "Using default value for SYSCLK_FREQ = 50000000"
    10 #define SYSCLK_FREQ 50000000U
    11 #endif // end ifndef SYSCLK_FREQ
    127
    138#endif // end ifndef SOCLIB_IOC
     
    266261
    267262    // iterate on cache lines
    268     for (i = 0; i < size; i += line_size) {
     263    for (i = 0; i <= size; i += line_size) {
    269264        asm volatile(
    270265            " cache %0, %1"
Note: See TracChangeset for help on using the changeset viewer.