1. 17 12月, 2009 2 次提交
    • W
      MIPS: Loongson: Add basic Loongson 2F support · 6f7a251a
      Wu Zhangjin 提交于
      Loongson 2F has built-in DDR2 and PCI-X controller. The PCI-X controller
      has a programming interface similiar to the the FPGA northbridge used on
      Loongson 2E.
      
      The main differences between Loongson 2E and Loongson 2F include:
      
      1. Loongson 2F has an extra address window configuration module, which
         is used to map CPU address space to DDR or PCI address space, or map
         the PCI-DMA address space to DDR or LIO address space.
      
      2. Loongson 2F supports 8 levels of software configurable CPu frequency
         which can be configured in the LOONGSON_CHIPCFG0 register.  The coming
         cpufreq and standby support are based on this feature.
      
      Loongson.h abstracts the modules and corresponding methods are abstracted.
      
      Add other Loongson-2F-specific source code including gcc 4.4 support, PCI
      memory space, PCI IO space, DMA address.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: linux-mips@linux-mips.org
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      6f7a251a
    • W
      MIPS: Bonito64: Make Loongson independent from Bonito64 code. · e2fee572
      Wu Zhangjin 提交于
      The built-in Loongson 2E/2F northbridge in is bonito64-compatible but not
      identical with it.  To avoid influencing the original bonito64 support and
      make the loongson support more maintainable, it's better to separate the
      Bonito64 code from the Loongson code.
      
      This also prepares the kernel for the coming Loongson 2f machines family
      support.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Cc: Linux-MIPS <linux-mips@linux-mips.org>
      Cc: yanh@lemote.com
      Cc: huhb@lemote.com
      Cc: Zhang Le <r0bertz@gentoo.org>
      Cc: zhangfx@lemote.com,
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      e2fee572
  2. 18 9月, 2009 5 次提交
  3. 28 10月, 2008 1 次提交