Skip to content
Snippets Groups Projects
  1. May 08, 2017
    • Vikas Manocha's avatar
      spl: make image arg or fdt blob address reconfigurable · 5bf5250e
      Vikas Manocha authored
      
      At present fdt blob or argument address being passed to kernel is fixed at
      compile time using macro CONFIG_SYS_SPL_ARGS_ADDR. FDT blob from
      different media like nand, nor flash are copied to the address pointed
      by the macro.
      The problem is, it makes args/fdt blob compulsory to copy which is not required
      in cases like for NOR Flash. This patch removes this limitation.
      
      Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
      5bf5250e
  2. Mar 18, 2017
  3. Mar 16, 2017
    • Eddie Cai's avatar
      spl: Add spl_early_init() · 340f418a
      Eddie Cai authored
      
      At present malloc_base/_limit/_ptr are not initialised in spl_init() when
      we call spl_init() in board_init_f(). This is due to a recent change aimed
      at avoiding overwriting the malloc area set up on some boards by
      spl_relocate_stack_gd().
      
      However if CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN is not defined, we now
      skip setting up the memory area in spl_init() which is obviously wrong.
      
      To fix this, add a new function spl_early_init() which can be called in
      board_init_f().
      
      Fixes: b3d2861e (spl: Remove overwrite of relocated malloc limit)
      Signed-off-by: default avatarEddie Cai <eddie.cai.linux@gmail.com>
      Rewrote spl_{,early_}init() to avoid duplicate code:
      Rewrite/expand commit message:
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarEddie Cai <eddie.cai.linux@gmail.com>
      340f418a
  4. Jan 04, 2017
  5. Dec 09, 2016
  6. Dec 01, 2016
  7. Oct 06, 2016
  8. Sep 27, 2016
  9. Jul 22, 2016
  10. Jun 26, 2016
    • Marek Vasut's avatar
      common: Pass the boot device into spl_boot_mode() · 2b1cdafa
      Marek Vasut authored
      
      The SPL code already knows which boot device it calls the spl_boot_mode()
      on, so pass that information into the function. This allows the code of
      spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets
      board_boot_order() correctly alter the behavior of the boot process.
      
      The later one is important, since in certain cases, it is desired that
      spl_boot_device() return value be overriden using board_boot_order().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Andreas Bießmann <andreas.devel@googlemail.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      [add newly introduced zynq variant]
      Signed-aff-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      2b1cdafa
  11. May 27, 2016
  12. May 24, 2016
  13. May 17, 2016
  14. Mar 14, 2016
  15. Nov 18, 2015
Loading