Skip to content
Snippets Groups Projects
  1. Dec 27, 2021
  2. Dec 26, 2021
  3. Dec 23, 2021
  4. Dec 17, 2021
  5. Dec 05, 2021
  6. Dec 01, 2021
  7. Nov 30, 2021
  8. Nov 28, 2021
  9. Nov 20, 2021
  10. Nov 16, 2021
    • Simon Glass's avatar
      env: Allow U-Boot scripts to be placed in a .env file · 86b9c3e4
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present U-Boot environment variables, and thus scripts, are defined
      by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text
      to this file and dealing with quoting and newlines is harder than it
      should be. It would be better if we could just type the script into a
      text file and have it included by U-Boot.
      
      Add a feature that brings in a .env file associated with the board
      config, if present. To use it, create a file in a board/<vendor>
      directory, typically called <board>.env and controlled by the
      CONFIG_ENV_SOURCE_FILE option.
      
      The environment variables should be of the form "var=value". Values can
      extend to multiple lines. See the README under 'Environment Variables:'
      for more information and an example.
      
      In many cases environment variables need access to the U-Boot CONFIG
      variables to select different options. Enable this so that the environment
      scripts can be as useful as the ones currently in the board config files.
      This uses the C preprocessor, means that comments can be included in the
      environment using /* ... */
      
      Also support += to allow variables to be appended to. This is needed when
      using the preprocessor.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarMarek Behún <marek.behun@nic.cz>
      Tested-by: default avatarMarek Behún <marek.behun@nic.cz>
      86b9c3e4
  11. Nov 15, 2021
  12. Nov 12, 2021
    • Tom Rini's avatar
      configs: Resync with savedefconfig · a51673eb
      Tom Rini authored
      
      Rsync all defconfig files using moveconfig.py
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      a51673eb
    • Tom Rini's avatar
      Remove CONFIG_SERIAL_MULTI · d3fb2e39
      Tom Rini authored
      
      This symbol has been functionally dead for a long time.  Remove the last
      and recent re-introductions of setting it, and update the whitelist so
      it will not be re-introduced again.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      d3fb2e39
    • Thomas Huth's avatar
      Remove LYNX KDI remainders · 7e713067
      Thomas Huth authored and Tom Rini's avatar Tom Rini committed
      
      The last board that used to set CONFIG_LYNXKDI has been removed in
      commit 242836a8 ("powerpc: ppc4xx: remove pcs440ep support"),
      doc/README.lynxkdi only talks about a MPC8260 board being supported,
      and the mpc8260 support has been removed four years ago in commit
      2eb48ff7 ("powerpc, 8260: remove support for mpc8260") already,
      and common/lynxkdi.c only consists of an "#error" statement these
      days, so it seems like the LYNX KDI code is dead code nowadays.
      Let's remove it now.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      7e713067
    • Simon Glass's avatar
      Create a new boot/ directory · 19a91f24
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Quite a lot of the code in common/relates to booting and images. Before
      adding more it seems like a good time to move the code into its own
      directory.
      
      Most files with 'boot' or 'image' in them are moved, except:
      
      - autoboot.c which relates to U-Boot automatically running a script
      - bootstage.c which relates to U-Boot timing
      
      Drop the removal of boot* files from the output directory, since this
      interfers with the symlinks created by tools and there does not appear
      to be any such file from my brief testing.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Reviewed-by: default avatarArtem Lapkin <email2tema@gmail.com>
      Tested-by: default avatarArtem Lapkin <email2tema@gmail.com>
      19a91f24
  13. Nov 09, 2021
  14. Nov 07, 2021
  15. Nov 05, 2021
  16. Nov 01, 2021
  17. Oct 27, 2021
    • Ilias Apalodimas's avatar
      sandbox: Remove OF_HOSTFILE · e7fb7896
      Ilias Apalodimas authored and Tom Rini's avatar Tom Rini committed
      
      OF_HOSTFILE is used on sandbox configs only.  Although it's pretty
      unique and not causing any confusions,  we are better of having simpler
      config options for the DTB.
      
      So let's replace that with the existing OF_BOARD.  U-Boot would then
      have only three config options for the DTB origin.
      - OF_SEPARATE, build separately from U-Boot
      - OF_BOARD, board specific way of providing the DTB
      - OF_EMBED embedded in the u-boot binary(should not be used in production
      
      Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      e7fb7896
  18. Oct 21, 2021
  19. Oct 19, 2021
    • Simon Glass's avatar
      Makefile: Only build dtc if needed · 93b19653
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined, even
      when DTC is provided. The built dtc is not actually used, so this is a
      waste of time.
      
      Update the Makefile logic to build dtc only if one is not provided to the
      build with the DTC variable. Add documentation to explain this.
      
      This saves about 3.5 seconds of elapsed time on a clean build of
      sandbox_spl for me.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      93b19653
Loading