1. 09 Sep, 2016 1 commit
  2. 20 Jun, 2016 1 commit
    • Masahiro Yamada's avatar
      autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c · 41598c82
      Masahiro Yamada authored
      Since commit bb597c0e ("common: bootdelay: move CONFIG_BOOTDELAY
      into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards.
      Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to
      not compile common/autoboot.c, as described in common/Makefile:
        # This option is not just y/n - it can have a numeric value
        ifdef CONFIG_BOOTDELAY
        obj-y += autoboot.o
      It was a bit odd to enable/disable code with an integer type option,
      but it was how this option worked before that commit, and several
      boards actually unset it to opt out of the autoboot feature.
      This commit adds a new bool option, CONFIG_AUTOBOOT, and makes
      CONFIG_BOOTDELAY depend on it.
      I chose "default y" for this option because most boards use the
      autoboot.  I added "# CONFIG_AUTOBOOT is not set" for the boards that
      had not set CONFIG_BOOTDELAY prior to the bad commit.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
  3. 13 Jun, 2016 1 commit
  4. 09 Jun, 2016 1 commit
  5. 06 Jun, 2016 1 commit
    • Andre Przywara's avatar
      arm/arm64: implement a boot header capability · cdaa633f
      Andre Przywara authored
      Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0)
      require a header before the actual U-Boot binary to both check its
      validity and to find other data to load. Sometimes this header may
      only be a few bytes of information, and sometimes this might simply
      be space that needs to be reserved for a post-processing tool.
      Introduce a config option to allow assembler preprocessor commands
      to be inserted into the code at the appropriate location; typical
      assembler preprocessor commands might be:
        .space 1000
        .word 0x12345678
      Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
      Signed-off-by: default avatarSteve Rae <srae@broadcom.com>
      Commit Notes:
      Please note that the current code:
        start.S (arm64) and
        vectors.S (arm)
      already jumps over some portion of data already, so this option basically
      just increases the size of this region (and the resulting binary).
      For use with Allwinner's boot0 blob there is a tool called boot0img[1],
      which fills the header to allow booting A64 based boards.
      For the Pine64 we need a 1536 byte header (including the branch
      instruction) at the moment, so we add this to the defconfig.
      [1] https://github.com/apritzel/pine64/tree/master/tools
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
  6. 25 Apr, 2016 3 commits
  7. 20 Apr, 2016 3 commits
  8. 25 Mar, 2016 1 commit
  9. 22 Nov, 2015 1 commit
  10. 18 Nov, 2015 1 commit
  11. 26 Jun, 2015 1 commit
  12. 12 May, 2015 1 commit
  13. 30 Aug, 2014 1 commit