Skip to content
Snippets Groups Projects
  1. Apr 03, 2015
    • Alexey Brodkin's avatar
      arc: cache - build invalidate_icache_all() and invalidate_dcache_all() · ae4a351a
      Alexey Brodkin authored
      always
      
      Make both invalidate_icache_all() and invalidate_dcache_all() available
      even if U-Boot is configured with CONFIG_SYS_DCACHE_OFF and/or
      CONFIG_SYS_ICACHE_OFF.
      
      This is useful because configuration of U-Boot may not match actual
      hardware features. Real board may have cache(s) but for some reason we
      may want to run U-Boot with cache(s) disabled (for example if some
      peripherals work improperly with existing drivers if data cache is
      enabled). So board may start with cache(s) enabled (that's the case for
      ARC cores with built-in caches) but early in U-Boot we disable cache(s)
      and make sure all contents of data cache gets flushed in RAM.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      ae4a351a
    • Alexey Brodkin's avatar
      serial/serial_arc: set registers address during compilation · 36d68668
      Alexey Brodkin authored
      
      Being global variable with 0 value it falls into .bss area which we may
      only use after relocation to RAM. And right afetr relocation we zero
      .bss - effectively cleaing register address set for early console.
      
      Now with pre-set value "regs" variable is no longer in .bss and this way
      safely survives relocation.
      
      Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      36d68668
  2. Apr 01, 2015
  3. Mar 31, 2015
  4. Mar 29, 2015
Loading