1. 02 8月, 2016 1 次提交
    • J
      MIPS: store the appended dtb address in a variable · 15f37e15
      Jonas Gorski 提交于
      Instead of rewriting the arguments to match the UHI spec, store the
      address of a appended or UHI supplied dtb in fw_supplied_dtb.
      
      That way the original bootloader arugments are kept intact while still
      making the use of an appended dtb invisible for mach code.
      
      Mach code can still find out if it is an appended dtb by comparing
      fw_arg1 with fw_supplied_dtb.
      Signed-off-by: NJonas Gorski <jogo@openwrt.org>
      Cc: Kevin Cernekee <cernekee@gmail.com>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: Paul Burton <paul.burton@imgtec.com>
      Cc: James Hogan <james.hogan@imgtec.com>
      Cc: Alban Bedel <albeu@free.fr>
      Cc: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
      Cc: Antony Pavlov <antonynpavlov@gmail.com>
      Cc: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/13699/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      15f37e15
  2. 13 5月, 2016 1 次提交
  3. 25 11月, 2014 1 次提交
  4. 24 11月, 2014 1 次提交
    • H
      MIPS: Loongson: Improve LEFI firmware interface · 3adeb256
      Huacai Chen 提交于
      Machtypes of Loongson-3 machines become more and more, but there are
      only small differences among different machtypes. Keeping a large table
      of machtypes is very ugly and hard to extend. We found that the major
      machtype differences are UARTs information (number of UARTs, UART IRQs,
      UART clocks, etc.), platform devices (EC, temperature sensors, fan
      controllers, etc.) and some workarounds (because of some CPU bugs or
      mainboard bugs).
      
      In this patch we improve the UEFI-like (LEFI) interface to make all
      Loongson-3 machines use a same machtype "generic-loongson-machine".
      Signed-off-by: NHuacai Chen <chenhc@lemote.com>
      Cc: John Crispin <john@phrozen.org>
      Cc: Steven J. Hill <Steven.Hill@imgtec.com>
      Cc: linux-mips@linux-mips.org
      Cc: Fuxin Zhang <zhangfx@lemote.com>
      Cc: Zhangjin Wu <wuzhangjin@gmail.com>
      Patchwork: https://patchwork.linux-mips.org/patch/8324/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      3adeb256
  5. 01 4月, 2014 1 次提交
  6. 27 3月, 2014 1 次提交
  7. 08 5月, 2013 1 次提交
  8. 01 2月, 2013 1 次提交
  9. 08 12月, 2011 1 次提交
    • D
      MIPS: Handle initmem in systems with kernel not in add_memory_region() mem · 43064c0c
      David Daney 提交于
      This patch addresses a couple of related problems:
      
      1) The kernel may reside in physical memory outside of the ranges set
         by plat_mem_setup().  If this is the case, init mem cannot be
         reused as it resides outside of the range of pages that the kernel
         memory allocators control.
      
      2) initrd images might be loaded in physical memory outside of the
         ranges set by plat_mem_setup().  The memory likewise cannot be
         reused.  The patch doesn't handle this specific case, but the
         infrastructure is useful for future patches that do.
      
      The crux of the problem is that there are memory regions that need be
      memory_present(), but that cannot be free_bootmem() at the time of
      arch_mem_init().  We create a new type of memory (BOOT_MEM_INIT_RAM)
      for use with add_memory_region().  Then arch_mem_init() adds the init
      mem with this type if the init mem is not already covered by existing
      ranges.
      
      When memory is being freed into the bootmem allocator, we skip the
      BOOT_MEM_INIT_RAM ranges so they are not clobbered, but we do signal
      them as memory_present().  This way when they are later freed, the
      necessary memory manager structures have initialized and the Sparse
      allocater is prevented from crashing.
      
      The Octeon specific code that handled this case is removed, because
      the new general purpose code handles the case.
      Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
      To: linux-mips@linux-mips.org
      Patchwork: https://patchwork.linux-mips.org/patch/1988/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      43064c0c
  10. 30 10月, 2010 1 次提交
  11. 05 8月, 2010 1 次提交
  12. 17 12月, 2009 3 次提交
  13. 18 9月, 2009 1 次提交
    • W
      MIPS: Loongson: Add a machtype kernel command line argument · 3209e70e
      Wu Zhangjin 提交于
      The difference between some loongson-based machines is very small, so, if
      there is no necessary to add new kernel config options to cope with this
      difference, it will be better to share the same kernel image file between
      them, benefit from this, the linux distribution developers only have a need
      to compile the kernel one time.
      
      This machtype kernel command line argument will be used later to share the
      same kernel image file between two different machines(menglong & yeeloong)
      made by lemote.
      
      Thanks very much to Zhang Le for cleaning up the machtype implementation.
      Signed-off-by: NWu Zhangjin <wuzhangjin@gmail.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      3209e70e
  14. 11 10月, 2008 1 次提交
  15. 20 7月, 2008 1 次提交
  16. 16 7月, 2008 4 次提交
  17. 29 1月, 2008 2 次提交
  18. 12 10月, 2007 3 次提交
  19. 01 8月, 2007 2 次提交
  20. 11 7月, 2007 6 次提交
  21. 11 5月, 2007 2 次提交
  22. 09 5月, 2007 1 次提交
  23. 07 2月, 2007 1 次提交
  24. 09 12月, 2006 1 次提交
  25. 04 10月, 2006 1 次提交