Skip to content
Snippets Groups Projects
  1. Aug 07, 2018
  2. Jul 13, 2018
  3. Jun 13, 2018
  4. 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
  5. Apr 27, 2018
  6. Apr 16, 2018
  7. Apr 09, 2018
  8. Apr 07, 2018
    • Sjoerd Simons's avatar
      env: Properly check for BLK support · d48b8d11
      Sjoerd Simons authored
      
      Use CONFIG_IS_ENABLED to see if CONFIG_BLK is enabled. Otherwise
      SPL compilation breaks on boards which do have CONFIG_BLK enabled but
      not DM_MMC for the SPL as follows:
      
      env/mmc.c: In function ‘init_mmc_for_env’:
      env/mmc.c:164:6: warning: implicit declaration of function ‘blk_get_from_parent’; did you mean ‘efi_get_ram_base’? [-Wimplicit-function-declaration]
        if (blk_get_from_parent(mmc->dev, &dev))
            ^~~~~~~~~~~~~~~~~~~
            efi_get_ram_base
      env/mmc.c:164:29: error: ‘struct mmc’ has no member named ‘dev’
        if (blk_get_from_parent(mmc->dev, &dev))
                                   ^~
      
      Signed-off-by: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      d48b8d11
    • Rasmus Villemoes's avatar
      Allow providing default environment from file · f3d8f7dd
      Rasmus Villemoes authored
      
      Modifying the default environment via CONFIG_EXTRA_ENV_SETTINGS is
      somewhat inflexible, partly because the cpp language does not allow
      appending to an existing macro. This prevents reuse of "environment
      fragments" for different boards, which in turn makes maintaining that
      environment consistently tedious and error-prone.
      
      This implements a Kconfig option for allowing one to define the entire
      default environment in an external file, which can then, for example, be
      generated programmatically as part of a Yocto recipe, or simply be kept
      in version control separately from the U-boot repository.
      
      Tested-by: default avatarSean Nyekjaer <sean.nyekjaer@prevas.dk>
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
      f3d8f7dd
  9. Apr 06, 2018
    • Christophe Leroy's avatar
      common: env_embedded: allow fine placement of environment object · 23ac79ff
      Christophe Leroy authored
      
      Commit 7653942b ("common/env_embedded.c: drop support for
      CONFIG_SYS_USE_PPCENV") dropped the .ppcenv section which was
      used in linking scripts to allow fine placement of embedded
      environment sections.
      
      This implies that GCC randomly places objects from env/embedded.o
      and environment is not guaranteed to be located at the correct address:
      
      04003df8 g     F .text  00000038 mii_init
      04004000 g     O .text  00000004 env_size
      04004004 g     O .text  00002000 environment
      04006004 g     F .text  00000040 .hidden __lshrdi3
      
      This patch restores this capability by allocating each object marked
      with __UBOOT_ENV_SECTION__ into a different section. Hence
      'environment' will be alone in .text.environment, allowing a
      fine placement in u-boot.lds with:
      
      		. = DEFINED(env_offset) ? env_offset : .;
      		env/embedded.o			(.text.environment)
      
      Fixes: 7653942b ("common/env_embedded.c: drop support for CONFIG_SYS_USE_PPCENV")
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
      23ac79ff
  10. Apr 04, 2018
  11. Mar 24, 2018
    • Petr Vorel's avatar
      Convert CONFIG_UBI_SILENCE_MSG to Kconfig · c0ce4cea
      Petr Vorel authored
      
      Signed-off-by: default avatarPetr Vorel <petr.vorel@gmail.com>
      c0ce4cea
    • Petr Vorel's avatar
      Convert CONFIG_UBIFS_SILENCE_MSG to Kconfig · afb6fda2
      Petr Vorel authored
      
      Introduce another difference from upstream (kernel) source in
      fs/ubifs/super.c: adding preprocessor condition as y variable in
      mount_ubifs() depends on CONFIG_UBIFS_SILENCE_MSG:
      fs/ubifs/super.c:1337:15: error: variable ?y? set but not used [-Werror=unused-but-set-variable]
        long long x, y;
      
      Not setting CONFIG_UBIFS_SILENCE_MSG in am335x_igep003x_defconfig and
      igep0032_defconfig. Although it was defined in their config headers, it
      depends on CMD_UBIFS which is not set for them.
      
      Signed-off-by: default avatarPetr Vorel <petr.vorel@gmail.com>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Heiko Schocher <hs@denx.de>
      afb6fda2
  12. Feb 20, 2018
  13. Feb 16, 2018
  14. Feb 12, 2018
  15. Feb 01, 2018
  16. Jan 31, 2018
  17. Jan 27, 2018
  18. Jan 22, 2018
    • Tuomas Tynkkynen's avatar
      env: ENV_IS_IN_FAT improvements · 3cd084d3
      Tuomas Tynkkynen authored
      
      Make it select FS_FAT as well, because if it's not selected, enabling
      ENV_IS_IN_FAT causes a Kconfig warning:
      
      warning: (ENV_IS_IN_FAT) selects FAT_WRITE which has unmet direct dependencies (FS_FAT)
      
      This also allows dropping some code from config_fallbacks.
      
      Also drop the unnecessary help text about having to enable
      CONFIG_FAT_WRITE - Kconfig automatically handles that.
      
      Signed-off-by: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
      3cd084d3
  19. Jan 17, 2018
  20. Jan 15, 2018
Loading