Skip to content
Snippets Groups Projects
  1. Aug 02, 2019
    • Simon Glass's avatar
      autoboot: Rename CONFIG_MENUKEY to CONFIG_AUTOBOOT_MENUKEY · 8fc31e23
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Since this is part of the autoboot functionality, it makes sense to name
      it with an AUTOBOOT prefix. No mainline boards use it so this should be
      safe, and downstream boards will need to adjust.
      
      Since this option is just an integer value, it really needs another option
      to control whether the feature is enabled or not. Add a new
      CONFIG_USE_AUTOBOOT_MENUKEY for that. This fits better with how things are
      done with Kconfig, avoiding the need to use a specific value to disable
      the feature.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      8fc31e23
  2. May 07, 2018
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  3. Jun 20, 2016
    • Masahiro Yamada's avatar
      autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c · 41598c82
      Masahiro Yamada authored and Tom Rini's avatar Tom Rini committed
      
      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
        endif
      
      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: Masahiro Yamada's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      41598c82
  4. May 29, 2014
Loading