1. 12 11月, 2015 3 次提交
  2. 11 11月, 2015 8 次提交
    • M
      ARM: uniphier: drop UniPhier specific SMP code · b375219e
      Masahiro Yamada 提交于
      The latest Linux can directly handle SMP operations for UniPhier SoCs
      without any help of U-boot.  Drop the relevant code from U-boot.
      
      See commit b1e4006aeda8c8784029de17d47987c21ea75f6d ("ARM: uniphier:
      rework SMP operations to use trampoline code") in Linux Kernel.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      b375219e
    • M
      ARM: dts: uniphier: add USB xHCI nodes for PH1-Pro5 and ProXstream2 · 2610b136
      Masahiro Yamada 提交于
      This makes USB3.0 available on new SoCs/boards.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      2610b136
    • M
      ARM: dts: uniphier: fix interrupt number of USB core for PH1-Pro4 · 57e2c481
      Masahiro Yamada 提交于
      The IRQ is not used in U-Boot, but this would be useful to sync
      device trees between Linux and U-Boot.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      57e2c481
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-arm · cad04990
      Tom Rini 提交于
      cad04990
    • S
      ARM: tegra: enable CONFIG_SYS_NONCACHED_MEMORY everywhere · 5e68ff39
      Stephen Warren 提交于
      Now that we have solved the problems that prevented this feature from
      being enabled, enable it everywhere.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      5e68ff39
    • S
      ARM: tegra: add custom MMU setup on ARMv8 · 376cb1a4
      Stephen Warren 提交于
      This sets up a fine-grained page table, which is a requirement for
      noncached_init() to operate correctly.
      
      MMU setup code currently exists in a number of places:
      - A version in the core ARMv8 support code that sets up page tables that
      use very large block sizes that CONFIG_SYS_NONCACHED_MEMORY doesn't
      support.
      - Enhanced versions for fsl-lsch3 and zynmq that set up finer grained
      page tables.
      
      Ideally, rather than duplicating the MMU setup code yet again this patch
      would instead consolidate all the different routines into the core ARMv8
      code so that it supported all use-cases. However, this will require
      significant effort since there appear to be a number of discrepancies[1]
      between different versions of the code, and between the defines/values by
      some copies of the MMU setup code use and the architectural MMU
      documentation. Some reverse engineering will be required to determine the
      intent of the current code.
      
      [1] For example, in the core ARMv8 MMU setup code, three defines named
      TCR_EL[123]_IPS_BITS exist, but only one of them sets the IPS field and
      the others set a different field (T1SZ) in the page tables. As far as I
      can tell so far, there should be no need to set different values per
      exception level nor to modify the T1SZ field at all, since TTBR1 shouldn't
      be enabled anyway. Another example is inconsistent values for *_VA_BITS
      between the current core ARMv8 MMU setup code and the various SoC-
      specific MMU setup code. Another example is that asm/armv8/mmu.h's value
      for SECTION_SHIFT doesn't match asm/system.h's MMU_SECTION_SHIFT;
      research is needed to determine which code relies on which of those
      values and why, and whether fixing the incorrect value will cause any
      regression.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      376cb1a4
    • S
      armv8: allow custom MMU setup routines on ARMv8 · 3c6af3ba
      Stephen Warren 提交于
      In order for noncached_init() to operate correctly, SoCs must set up a
      custom page table with fine-grained (2MiB) sections, which can be
      configured from noncached_init().
      
      This is currently performed by arch/arm/cpu/armv8/{fsl-lsch3,zynqmp}/cpu.c
      by cut/pasting and re-implementing mmu_setup, enable_caches(), etc. There
      are some other reasons for the duplication there though, such as enabling
      icache early, and enabling dcaching earlier with a different configuration.
      
      This change makes mmu_setup() a weak implementation, so that the MMU setup
      code can be replaced without having to duplicate other code that calls it.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      3c6af3ba
    • S
      armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY · 88f965d7
      Stephen Warren 提交于
      The implementation of noncached_init() uses define MMU_SECTION_SIZE.
      Define this on ARM64.
      
      Move the prototype of noncached_{init,alloc}() to a location that
      doesn't depend on !defined(CONFIG_ARM64).
      
      Note that noncached_init() calls mmu_set_region_dcache_behaviour() which
      relies on something having set up translation tables with 2MB block size.
      The core ARMv8 MMU setup code does not do this by default, but currently
      relies on SoC specific MMU setup code. Be aware of this before enabling
      this feature on your platform!
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      88f965d7
  3. 10 11月, 2015 16 次提交
  4. 07 11月, 2015 1 次提交
    • M
      ARM64: zynqmp: Sync zynq_sdhci_init() declaration · e490ad25
      Michal Simek 提交于
      This patch fix compilation error:
      drivers/mmc/zynq_sdhci.c:16:5: error: conflicting types for
      ‘zynq_sdhci_init’
       int zynq_sdhci_init(phys_addr_t regbase)
           ^
      In file included from drivers/mmc/zynq_sdhci.c:14:0:
      ./arch/arm/include/asm/arch/sys_proto.h:16:5: note: previous declaration
      of ‘zynq_sdhci_init’ was here
       int zynq_sdhci_init(unsigned long regbase);
           ^
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      e490ad25
  5. 06 11月, 2015 12 次提交