1. 24 Mar, 2020 27 commits
  2. 17 Mar, 2020 3 commits
  3. 16 Mar, 2020 10 commits
    • Tom Rini's avatar
      configs: Drop '$(ARCH)' usage in CONFIG_SPL_LDSCRIPT · 33b40389
      Tom Rini authored
      In a few boards we had overridden, intentionally, the value used for
      CONFIG_SPL_LDSCRIPT.  However, rather than using the ARCH value (arm)
      they used the $(ARCH) variable in make.  This doesn't help really, so
      switch to a hard-coded value.
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      33b40389
    • Tom Rini's avatar
      kconfig / kbuild: re-sync with Linux 4.18 · 5972ff07
      Tom Rini authored
      Align Kconfig and Kbuild logic to Linux 4.18 release with minimal impact
      on files outside of this scope.
      
      Our previous Kconfig sync was done by commit e91610da ("kconfig:
      re-sync with Linux 4.17-rc4").
      
      A very small number of changes upstream since our sync with v4.17-rc4
      that exist in the v4.18 release have already been applied here and have
      been omitted from the list in this commit (and are readily available in
      our own git history).
      
      The imported Linux commits are:
      [From prior to v4.17-rc4]
      39a33ff80a25 kbuild: remove cc-option-align
      db547ef19064 Kbuild: don't add obj tree in additional includes
      b999596b963a Kbuild: don't add ../../ to include path
      
      [From v4.17 to v4.18]
      b3aa58d2e85d fixdep: suppress consecutive / from file paths in dependency list files
      74656b682902 kbuild: disable new dtc graph and unit-address warnings
      74d931716151 genksyms: remove symbol prefix support
      e6ecfb45072c kbuild: do not display CHK for filechk
      0b669a5076fd kconfig: refactor Qt package checks for building qconf
      b464ef583dc7 kconfig: refactor GTK+ package checks for building gconf
      1c5af5cf9308 kconfig: refactor ncurses package checks for building mconf and nconf
      694c49a7c01c kconfig: drop localization support
      96f60dfa5819 trace: Use -mcount-record for dynamic ftrace
      bb222ceeb327 kconfig: remove string expansion in file_lookup()
      96d8e48da55a kconfig: remove string expansion for mainmenu after yyparse()
      5b31a9746756 kconfig: remove sym_expand_string_value()
      137c0118a900 kconfig: make default prompt of mainmenu less specific
      e298f3b49def kconfig: add built-in function support
      2fd5b09c201e kconfig: add 'shell' built-in function
      9de071536c87 kconfig: begin PARAM state only when seeing a command keyword
      9ced3bddec08 kconfig: support user-defined function and recursively expanded variable
      1175c02506ff kconfig: support simply expanded variable
      ed2a22f277c6 kconfig: support append assignment operator
      82bc8bd82e5c kconfig: expand lefthand side of assignment statement
      1d6272e6fe43 kconfig: add 'info', 'warning-if', and 'error-if' built-in functions
      a702a6176e2f kconfig: add 'filename' and 'lineno' built-in variables
      915f64901eb3 kconfig: error out if a recursive variable references itself
      2bece88f89fa kconfig: test: add Kconfig macro language tests
      21c54b774744 kconfig: show compiler version text in the top comment
      59f7b5847b0c kbuild: $(CHECK) doesnt need NOSTDINC_FLAGS twice
      145167650b96 kbuild: add endianness flag to CHEKCFLAGS
      1f2f01b122d7 kbuild: add machine size to CHECKFLAGS
      d6a0c8a1326b kconfig: Add testconfig into make help output
      bb6d83dde191 kbuild: Move last word of nconfig help to the previous line
      8593080c0fcf kconfig: fix localmodconfig
      ed7d40bc67b8 tracing: Fix SKIP_STACK_VALIDATION=1 build due to bad merge with -mrecord-mcount
      b2d00d7c61c8 kconfig: fix line numbers for if-entries in menu tree
      ecd53ac2f2c6 kconfig: handle P_SYMBOL in print_symbol()
      73d1c580f92b kconfig: loop boundary condition fix
      48f6e3cf5bc6 kbuild: do not drop -I without parameter
      bd412d81b7ea kbuild: .PHONY is not a variable, but PHONY is
      6916162c7308 kbuild: remove duplicated comments about PHONY
      
      Cc: Masahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      5972ff07
    • Rob Herring's avatar
      scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc · 6e916dfd
      Rob Herring authored
      This adds the following commits from upstream:
      
      84e414b0b5bc tests: Add a test case for the omit-if-no-ref keyword
      4038fd90056e dtc: add ability to make nodes conditional on them being referenced
      e1f139ea4900 checks: drop warning for missing PCI bridge bus-range
      f4eba68d89ee checks: Print duplicate node name instead of parent name
      46df1fb1b211 .travis.yml: Run valgrind checks via Travis
      14a3002a1aee tests: Update valgrind suppressions for sw_tree1
      02c5fe9debc0 tests: Remove valgrind error from tests/get_path
      df536831d02c checks: add graph binding checks
      2347c96edcbe checks: add a check for duplicate unit-addresses of child nodes
      8f1b35f88395 Correct overlay syntactic sugar for generating target-path fragments
      afbddcd418fb Suppress warnings on overlay fragments
      119e27300359 Improve tests for dtc overlay generation
      
      [From Linux Kernel commit 50aafd60898a8b3edf2f60e014a8288da3b2e5e3]
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      
      [For applying to U-Boot]
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      6e916dfd
    • Tom Rini's avatar
      Azure / GitLab / Travis: Add Kconfig unit tests to a job · 7261833f
      Tom Rini authored
      The Kconfig language provides a unit test that can be run.  As these
      require pytest to be installed and run very quickly, bundle them in to
      an existing CI job.
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      7261833f
    • Tom Rini's avatar
      mach-davinci: Hard-code the default SPL_LDSCRIPT path · 2c59412a
      Tom Rini authored
      As there is only one linker script to use in this case, rather than use
      the BOARDDIR variable hard-code the path.
      
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Suggested-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Lokesh Vutla's avatarLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      2c59412a
    • Tom Rini's avatar
      edminiv2: Move CONFIG_SPL_LDSCRIPT to defconfig · 38fec8de
      Tom Rini authored
      As there is only one machine under mach-orion5x, having a Kconfig entry
      for SPL_LDSCRIPT is not helpful, move this to the defconfig file.
      Suggested-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      38fec8de
    • Tom Rini's avatar
      mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig · 23830e98
      Tom Rini authored
      As there is only one mx31pdk config file and with upcoming updates to
      the Kconfig parsing logic, rather than have an entry in
      board/freescale/mx31pdk/Kconfig, move this single setting to the
      defconfig file.
      
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
      23830e98
    • Tom Rini's avatar
      Kconfig: Remove redundant variable sets · d91cf006
      Tom Rini authored
      In a few places we have Kconfig entries that set SPL_LDSCRIPT to what is
      the default value anyways.  Drop these.
      
      Cc: Michal Simek <monstr@monstr.eu>
      Cc: Rick Chen <rick@andestech.com>
      Cc: Philippe Reynes <tremyfr@yahoo.fr>
      Cc: Eric Jarrige <eric.jarrige@armadeus.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Rick Chen's avatarRick Chen <rick@andestech.com>
      Reviewed-by: Michal Simek <michal.simek@xilinx.com> (for Microblaze)
      Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      d91cf006
    • Tom Rini's avatar
      spl: Kconfig: Escape '$(ARCH)' in LDSCRIPT entries · a356e7a8
      Tom Rini authored
      The default SPL / TPL linker script is in the $(ARCH) directory.  The
      way we use this today works but isn't ideal.  With an update to Kconfig
      to re-sync with the Linux Kernel, we need to escape the '$' here so that
      it will end up being evaluated by make.
      
      Cc: Masahiro Yamada <masahiroy@kernel.org>
      Signed-off-by: Tom Rini's avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      a356e7a8
    • Masahiro Yamada's avatar
      kbuild: remove unused dtc-version.sh script · ddb87a0b
      Masahiro Yamada authored
      This is U-Boot own code, and no longer used since commit 36dd5f1b
      ("dtc: Switch to building and using our own dtc unless provided").
      
      Prior to that commit, U-Boot relied on an external dtc, so this script
      was used to check the dtc version.
      
      Now U-Boot bundles our own dtc in script/dtc/dtc like Linux kernel.
      
      Users are still allowed to pass DTC= option from the command line,
      but they are supposed to choose correct version of dtc in this case.
      So, we do not check the dtc version any more.
      Signed-off-by: Masahiro Yamada's avatarMasahiro Yamada <masahiroy@kernel.org>
      ddb87a0b