Skip to content
Snippets Groups Projects
  1. May 24, 2016
  2. May 23, 2016
  3. May 21, 2016
  4. May 20, 2016
    • Paul Burton's avatar
      malta: Support MIPS32r6 configurations · 40ba13c9
      Paul Burton authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Both real Malta boards & QEMU's Malta emulation can feature MIPS32r6
      CPUs. Allow building U-Boot for such systems by selecting
      CONFIG_SUPPORTS_CPU_MIPS32_R6 for Malta.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      40ba13c9
    • Paul Burton's avatar
      malta: Remove ".set mips32" directive · 4685d4e9
      Paul Burton authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      We always build for a mips32 or higher ISA, so this ".set mips32"
      directive is redundant. Once MIPSr6 support is added it will become
      harmful since some instruction encodings change & this directive will
      cause the older encodings to be incorrectly emitted instead of the
      appropriate ones for the build.
      
      In preparation for supporting MIPSr6, remove this redundant directive.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      4685d4e9
    • Paul Burton's avatar
      MIPS: Support for targetting MIPSr6 · c52ebea1
      Paul Burton authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Add support for targetting MIPS32r6 & MIPS64r6 systems, in the same way
      that we currently select release 1 or release 2 targets. MIPSr6 is not
      entirely backwards compatible with earlier releases of the architecture.
      Some instructions are encoded differently, some are removed, some are
      reused, so it is not practical to run U-Boot built for earlier revisions
      on a MIPSr6 system. Update their Kconfig help text to reflect that.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      c52ebea1
    • Paul Burton's avatar
      MIPS: Simplify CONFIG_SYS_CPU values · 20286cdf
      Paul Burton authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Rather than having the values for CONFIG_SYS_CPU depend upon each
      architecture revision, have them depend upon the more general
      CONFIG_CPU_MIPS32 & CONFIG_CPU_MIPS64 which in turn depend upon the
      architecture revisions.
      
      This is done in preparation for adding MIPSr6 support, which would
      otherwise need to introduce new cases here.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      20286cdf
    • Paul Burton's avatar
      MIPS: Use unchecked immediate addition/subtraction · 9f8ac824
      Paul Burton authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      In MIPS assembly there have historically been 2 variants of immediate
      addition - the standard "addi" which traps if an overflow occurs, and
      the unchecked "addiu" which does not trap on overflow. In release 6 of
      the MIPS architecture the trapping variants of immediate addition &
      subtraction have been removed. In preparation for supporting MIPSr6,
      stop using the trapping instructions from assembly & switch to their
      unchecked variants.
      
      Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
      9f8ac824
    • Marek Vasut's avatar
      mips: ath79: Add support for TPLink WDR4300 · 400df309
      Marek Vasut authored and Daniel Schwierzeck's avatar Daniel Schwierzeck committed
      
      Add support for the TPLink WDR4300 router, which is based on the
      AR9344 MIPS 74Kc CPU and has 128 MiB of RAM. The USB is supported
      on this system as well.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
      Cc: Wills Wang <wills.wang@live.com>
      400df309
Loading