1. 13 11月, 2015 2 次提交
  2. 06 11月, 2015 2 次提交
  3. 30 10月, 2015 1 次提交
  4. 25 10月, 2015 2 次提交
  5. 23 10月, 2015 2 次提交
  6. 28 8月, 2015 1 次提交
  7. 26 8月, 2015 1 次提交
  8. 18 8月, 2015 1 次提交
  9. 14 8月, 2015 4 次提交
  10. 05 8月, 2015 2 次提交
  11. 15 7月, 2015 1 次提交
    • B
      x86: fsp: Move FspInitEntry call to board_init_f() · aefaff8e
      Bin Meng 提交于
      The call to FspInitEntry is done in arch/x86/lib/fsp/fsp_car.S so far.
      It worked pretty well but looks not that good. Apart from doing too
      much work than just enabling CAR, it cannot read the configuration
      data from device tree at that time. Now we want to move it a little
      bit later as part of init_sequence_f[] being called by board_init_f().
      This way it looks and works better in the U-Boot initialization path.
      
      Due to FSP's design, after calling FspInitEntry it will not return to
      its caller, instead it jumps to a continuation function which is given
      by bootloader with a new stack in system memory. The original stack in
      the CAR is gone, but its content is perserved by FSP and described by
      a bootloader temporary memory HOB. Technically we can recover anything
      we had before in the previous stack, but that is way too complicated.
      To make life much easier, in the FSP continuation routine we just
      simply call fsp_init_done() and jump back to car_init_ret() to redo
      the whole board_init_f() initialization, but this time with a non-zero
      HOB list pointer saved in U-Boot's global data so that we can bypass
      the FspInitEntry for the second time.
      Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      Tested-by: NAndrew Bradford <andrew.bradford@kodakalaris.com>
      Tested-by: NSimon Glass <sjg@chromium.org>
      aefaff8e
  12. 30 4月, 2015 1 次提交
  13. 23 4月, 2015 3 次提交
  14. 19 4月, 2015 1 次提交
  15. 17 4月, 2015 1 次提交
  16. 03 4月, 2015 1 次提交
    • A
      arc: clean-up init procedure · 3fb80163
      Alexey Brodkin 提交于
      Intention behind this work was elimination of as much assembly-written
      code as it is possible.
      
      In case of ARC we already have relocation fix-up implemented in C so why
      don't we use C for U-Boot copying, .bss zeroing etc.
      
      It turned out x86 uses pretty similar approach so we re-used parts of
      code in "board_f.c" initially implemented for x86.
      
      Now assembly usage during init is limited to stack- and frame-pointer
      setup before and after relocation.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Simon Glass <sjg@chromium.org>
      3fb80163
  17. 29 3月, 2015 2 次提交
    • A
      m68k: fix 3 broken boards · 944ab340
      angelo@sysam.it 提交于
      Fix eb_cpu5282 and eb_cpu5282_internal unresolved external error.
      These boards have video but don't need any ppc related
      video_setmem().
      
      Fix M53017EVB moving away embedded env to a different offset,
      as in M52277EVB.
      Signed-off-by: NAngelo Dureghello <angelo@sysam.it>
      944ab340
    • A
      common/board_f: move board_init_f_mem() from #else CONFIG_X86 · 5bcd19aa
      Alexey Brodkin 提交于
      Purpose of this change is to make it possible to re-use code currently
      used on X86 solely for other architectures. For example:
       * init_sequence_f_r
       * board_init_f_r
      
      Even though board_init_f_mem() has nothing to do with any particular
      architecture it won't work (at least in current implementation) for X86.
      
      This is because on X86 "gd" is an alias to function get_fs_gd_ptr(),
      thus we cannot assign anything to it.
      
      So this change separates selection of board_init_f_mem() from X86 while
      keeping it disabled for X86 still.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Tom Rini <trini@konsulko.com>
      5bcd19aa
  18. 13 3月, 2015 1 次提交
  19. 06 3月, 2015 3 次提交
  20. 05 3月, 2015 1 次提交
    • S
      common: board: support systems with where RAM ends beyond 4GB · 1e4d11a5
      Stephen Warren 提交于
      Some systems have so much RAM that the end of RAM is beyond 4GB. An
      example would be a Tegra124 system (where RAM starts at 2GB physical)
      that has more than 2GB of RAM.
      
      In this case, we can gd->ram_size to represent the actual RAM size, so
      that the actual RAM size is passed to the OS. This is useful if the OS
      implements LPAE, and can actually use the "extra" RAM.
      
      However, U-Boot does not implement LPAE and so must deal with 32-bit
      physical addresses. To this end, we enhance board_get_usable_ram_top() to
      detect the "over-sized" case, and limit the relocation addres so that it
      fits into 32-bits of physical address space.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      1e4d11a5
  21. 18 2月, 2015 2 次提交
  22. 13 2月, 2015 1 次提交
    • S
      Introduce board_init_f_mem() to handle early memory layout · 74d01867
      Simon Glass 提交于
      At present on some architectures we set up the following before calling
      board_init_f():
      
         - global_data
         - stack
         - early malloc memory
      
      Adding the code to support early malloc and global data setup to every
      arch's assembler start-up is a pain. Also this code is not actually
      architecture-specific. We can use common code for all architectures and
      with a bit of care we can write this code in C.
      
      Add a new function to deal with this. It should be called after memory
      is available, with a pointer to the top of the area that should be used
      before relocation. The function will set things up and return the lowest
      memory address that it allocated/used. That can then be set as the top
      of the stack.
      
      Note that on some archs this function will use the stack, so the stack
      pointer should be set to same value as is pased to board_init_f_mem().
      A margin of 128 bytes will be left for this stack, so that it is not
      overwritten. This means that 64 bytes is wasted by this early call.
      This is not strictly necessary on several more modern archs, so we could
      remove this at the cost of some arch-dependent code.
      
      With this function there is no-longer any need for the assembler code to
      zero global_data or set up the early malloc pointers.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      74d01867
  23. 09 2月, 2015 1 次提交
  24. 08 2月, 2015 1 次提交
  25. 30 1月, 2015 1 次提交
  26. 24 1月, 2015 1 次提交