1. 11 Jul, 2016 22 commits
  2. 08 Jul, 2016 7 commits
    • Mingkai Hu's avatar
      armv8: Enable CPUECTLR.SMPEN for coherency · d73718f3
      Mingkai Hu authored
      For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
      set. The SMPEN bit should be set before enabling the data cache.
      If not enabled, the cache is not coherent with other cores and
      data corruption could occur.
      For A57/A72, SMPEN bit enables the processor to receive instruction
      cache and TLB maintenance operations broadcast from other processors
      in the cluster. This bit should be set before enabling the caches and
      MMU, or performing any cache and TLB maintenance operations.
      Signed-off-by: default avatarMingkai Hu <mingkai.hu@nxp.com>
      Signed-off-by: default avatarGong Qianyu <Qianyu.Gong@nxp.com>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    • Daniel Schwierzeck's avatar
      test/py: support 'memstart =' in u_boot_utils.find_ram_base() · d56dd0b1
      Daniel Schwierzeck authored
      Some archs like MIPS or PPC have a different 'bdinfo' output
      than ARM regarding the memory configuration. Also support
      'memstart = 0x*' in u_boot_utils.find_ram_base() to make
      all tests requiring the RAM base working on those archs.
      Signed-off-by: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Acked-by: default avatarStephen Warren <swarren@nvidia.com>
    • Stephen Warren's avatar
      test/py: strip VT100 codes from match buffer · 085e64dd
      Stephen Warren authored
      Prior to this patch, any VT100 codes emitted by U-Boot are considered part
      of a command's output, which often causes tests to fail. For example,
      test_env_echo_exists executes printenv, and then considers any text on a
      line before an = sign as a valid U-Boot environment variable name. This
      includes any VT100 codes emitted. When the test later attempts to use that
      variable, the name would be invalid since it includes the VT100 codes.
      Solve this by stripping VT100 codes from the match buffer, so they are
      never seen by higher level test code.
      The codes are still logged unmodified, so that users can expect U-Boot's
      exact output without interference. This does clutter the log file a bit.
      However, it allows users to see exactly what U-Boot emitted rather than a
      modified version, which hopefully is better for debugging. It's also much
      simpler to implement, since logging happens as soon as text is received,
      and so stripping the VT100 codes from the log would require handling
      reception and stripping of partial VT100 codes.
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    • Alexander Graf's avatar
      arm: Fix setjmp (again) · 0de02de7
      Alexander Graf authored
      Commit e6777248 (arm: Fix setjmp) added code to fix compilation of the setjmp
      code path with thumv1. Unfortunately it missed a constraint that the adr
      instruction can only refer to 4 byte aligned offsets.
      So this patch adds the required alignment hooks to make compilation
      work again even when setjmp doesn't happen to be 4 byte aligned.
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Tested-by: default avatarTom Rini <trini@konsulko.com>
    • Andre Przywara's avatar
      SPL: tiny-printf: avoid any BSS usage · 59d07ee0
      Andre Przywara authored
      As printf calls may be executed quite early, we should avoid using any
      BSS stored variables, since some boards put BSS in DRAM, which may not
      have been initialised yet.
      Explicitly mark those "static global" variables as belonging to the
      .data section, to keep tiny-printf clear of any BSS usage.
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
    • Stephen Warren's avatar
      test/py: fix CONFIG_ tests · a82642f3
      Stephen Warren authored
      Some CONFIG_ variables were recently renamed, but test/py wasn't updated
      to match. This causes some tests to be skipped. Fix test/py so the tests
      are run.
      Fixes: 11636258 ("Rename reset to sysreset")
      Fixes: f1f9d4fa ("hush: complete renaming CONFIG_SYS_HUSH_PARSER to CONFIG_HUSH_PARSER")
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
    • Mateusz Kulikowski's avatar
      mmc: msm_sdhci: Set mmc->dev pointer in msm_sdc_probe() · eb9d3ca3
      Mateusz Kulikowski authored
      MMC core expects (now) valid mmc->dev pointer.
      During conversion in commit cffe5d86 not every driver was updated.
      This patch fixes crash while accessing MMC on
      boards using Qualcomm SDHCI controller.
      Signed-off-by: default avatarMateusz Kulikowski <mateusz.kulikowski@gmail.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
  3. 07 Jul, 2016 2 commits
  4. 06 Jul, 2016 7 commits
  5. 05 Jul, 2016 2 commits