Skip to content
Snippets Groups Projects
  1. Sep 13, 2022
  2. Sep 12, 2022
  3. Sep 03, 2022
  4. Sep 02, 2022
  5. Sep 01, 2022
    • Marek Vasut's avatar
      ARM: imx6: dh-imx6: Enable d-cache early in SPL · ab2a6e82
      Marek Vasut authored and Tom Rini's avatar Tom Rini committed
      
      Enable d-cache early in SPL right after DRAM is started up.
      This reduces U-Boot proper load time by 650ms when loaded
      from SPI NOR.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarPhilip Oberfichtner <pro@denx.de>
      ab2a6e82
    • Philip Oberfichtner's avatar
      ARM: cache: Allow SPL to build cache-pl310.c · b6664eac
      Philip Oberfichtner authored and Tom Rini's avatar Tom Rini committed
      
      Introduce the new Kconfig symbol CONFIG_SPL_SYS_L2_PL310 to allow the
      SPL to build cache-pl310.c.
      
      Before this commit, the SPL could enable the PL310 L2 cache [1], but the
      cache maintenance functions from cache-pl310.c were only useable for
      non-SPL builds.
      
      After enabling the cache one must be able to flush it, too. Thus this
      commit allows cache-pl310.c to be included in the SPL build.
      
      [1] See for example arch/arm/mach-imx/cache.c: v7_outer_cache_enable()
      
      Signed-off-by: default avatarPhilip Oberfichtner <pro@denx.de>
      b6664eac
    • Philip Oberfichtner's avatar
      Convert CONFIG_SYS_L2_PL310 to Kconfig · 11168883
      Philip Oberfichtner authored and Tom Rini's avatar Tom Rini committed
      
      This converts CONFIG_SYS_L2_PL310 to Kconfig.
      
      For omap2 and mvebu the 'select SYS_L2_PL310' locations were
      determined using ./tools/moveconfig -i CONFIG_SYS_L2_PL310.
      
      For mx6 I manually chose ARCH_MX6 as 'select' location. The
      correctness has been verified using
      
      	$ ./tools/moveconfig.py -f ARCH_MX6 ~SYS_L2_PL310 ~SYS_L2CACHE_OFF
      	0 matches
      
      That means whenever an ARCH_MX6 board had SYS_L2_PL310 disabled, this
      was correctly reflected in SYS_L2CACHE_OFF. Thus it's safe to insert
      the 'select' statement under ARCH_MX6.
      
      Signed-off-by: default avatarPhilip Oberfichtner <pro@denx.de>
      11168883
Loading