Skip to content
Snippets Groups Projects
  1. Feb 02, 2021
    • Simon Glass's avatar
      common: Drop asm/global_data.h from common header · 401d1c4f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Move this out of the common header and include it only where needed.  In
      a number of cases this requires adding "struct udevice;" to avoid adding
      another large header or in other cases replacing / adding missing header
      files that had been pulled in, very indirectly.   Finally, we have a few
      cases where we did not need to include <asm/global_data.h> at all, so
      remove that include.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      401d1c4f
  2. Jan 05, 2021
  3. Aug 26, 2020
  4. Aug 06, 2020
  5. Jul 01, 2020
    • Tom Rini's avatar
      Remove CROSS_COMPILE default from arch/*/config.mk · faf002c0
      Tom Rini authored
      
      In order to support the compiler providing information used within
      Kconfig itself we cannot have the compiler be determined by
      arch/*/config.mk as we will not be able to evaluate that yet.  Given
      that most documentation tells people to specify CROSS_COMPILE, remove
      these references.
      
      Cc: Huan Wang <alison.wang@nxp.com>
      Cc: Angelo Dureghello <angelo@sysam.it>
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Rick Chen <rick@andestech.com>
      Cc: Thomas Chou <thomas@wytron.com.tw>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Marek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Max Filippov <jcmvbkbc@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
      faf002c0
  6. May 19, 2020
  7. May 18, 2020
  8. Feb 20, 2020
  9. Jan 24, 2020
  10. Jan 17, 2020
  11. Dec 02, 2019
  12. Aug 11, 2019
  13. May 18, 2019
    • Trevor Woerner's avatar
      CONFIG_SPL_SYS_[DI]CACHE_OFF: add · 10015025
      Trevor Woerner authored and Tom Rini's avatar Tom Rini committed
      
      While converting CONFIG_SYS_[DI]CACHE_OFF to Kconfig, there are instances
      where these configuration items are conditional on SPL. This commit adds SPL
      variants of these configuration items, uses CONFIG_IS_ENABLED(), and updates
      the configurations as required.
      
      Acked-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
      Signed-off-by: default avatarTrevor Woerner <trevor@toganlabs.com>
      [trini: Make the default depend on the setting for full U-Boot, update
      more zynq hardware]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      10015025
    • Trevor Woerner's avatar
      CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig · a0aba8a2
      Trevor Woerner authored and Tom Rini's avatar Tom Rini committed
      
      CONFIG_SYS_[DI]CACHE_OFF had been partially converted to Kconfig
      parameters; only for the ARC architecture. This patch turns these two
      parameters into Kconfig items everywhere else they are found.
      
      All of the include/configs/* and defconfig changes in this patch are
      for arm machines only. The Kconfig changes for arc, nds32, riscv,
      and xtensa have been included since these symbols are found in code
      under arch/{arc,nds32,riscv,xtensa}, however, no currently-defined
      include/configs/* or defconfigs for these architectures exist which
      include these symbols.
      
      These results have been confirmed with tools/moveconfig.py.
      
      Acked-by: default avatarAlexey Brodkin <abrodkin@snopsys.com>
      Signed-off-by: default avatarTrevor Woerner <trevor@toganlabs.com>
      [trini: Re-migrate for a few more boards]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      a0aba8a2
    • Trevor Woerner's avatar
      CONFIG_SYS_[ID]CACHE_OFF: unify the 'any' case · b7b4af0e
      Trevor Woerner authored and Tom Rini's avatar Tom Rini committed
      According to De Morgan's Law[1]:
      	!(A && B) = !A || !B
      	!(A || B) = !A && !B
      
      There are 5 places in the code where we find:
      	#if !(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
      and 4 places in the code where we find:
      	#if (!defined(CONFIG_SYS_ICACHE_OFF) || !defined(CONFIG_SYS_DCACHE_OFF))
      
      In words, the construct:
      	!defined(CONFIG_SYS_[DI]CACHE_OFF)
      means:
      	"is the [DI]CACHE on?"
      and the construct:
      	defined(CONFIG_SYS_[DI]CACHE_OFF)
      means:
      	"is the [DI]CACHE off?"
      
      Therefore
      	!(defined(CONFIG_SYS_ICACHE_OFF) && defined(CONFIG_SYS_DCACHE_OFF))
      means:
      	"the opposite of 'are they both off?'"
      in other words:
      	"are either or both on?"
      and:
      	(!defined(CONFIG_SYS_ICACHE_OFF) || !defined(CONFIG_SYS_DCACHE_OFF)
      means:
      	"are either or both on?"
      
      As a result, I've converted the 4 instances of '(!A || !B)' to '!(A && B)' for
      consistency.
      
      [1] https://en.wikipedia.org/wiki/De_Morgan%27s_laws
      
      
      
      Signed-off-by: default avatarTrevor Woerner <trevor@toganlabs.com>
      b7b4af0e
  14. Sep 26, 2018
  15. Sep 11, 2018
  16. Aug 16, 2018
  17. 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
  18. Feb 23, 2018
  19. Oct 03, 2017
  20. Aug 16, 2017
  21. Apr 13, 2017
  22. Apr 05, 2017
  23. Sep 23, 2016
  24. Aug 15, 2016
Loading