1. 01 12月, 2021 1 次提交
    • T
      Convert CONFIG_SYS_BR0_PRELIM et al to Kconfig · c7fad78e
      Tom Rini 提交于
      This converts the following to Kconfig:
         CONFIG_SYS_BR0_PRELIM
         CONFIG_SYS_OR1_PRELIM
         CONFIG_SYS_BR1_PRELIM
         CONFIG_SYS_OR2_PRELIM
         CONFIG_SYS_BR2_PRELIM
         CONFIG_SYS_OR2_PRELIM
         CONFIG_SYS_BR3_PRELIM
         CONFIG_SYS_OR3_PRELIM
         CONFIG_SYS_BR4_PRELIM
         CONFIG_SYS_OR4_PRELIM
         CONFIG_SYS_BR5_PRELIM
         CONFIG_SYS_OR5_PRELIM
         CONFIG_SYS_BR6_PRELIM
         CONFIG_SYS_OR6_PRELIM
         CONFIG_SYS_BR7_PRELIM
         CONFIG_SYS_OR7_PRELIM
      
      This also introduces CONFIG_SYS_BR0_PRELIM_BOOL as not all platforms
      that can set these values do so.  Add the relevant SYS_BRx_PRELIM_BOOL
      to platforms that had not been previously migrated.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      c7fad78e
  2. 05 11月, 2021 1 次提交
  3. 01 9月, 2021 3 次提交
  4. 05 6月, 2020 1 次提交
    • T
      Convert CONFIG_CMD_ASKENV et al to Kconfig · e985eb14
      Tom Rini 提交于
      This converts the following to Kconfig:
         CONFIG_CMD_ASKENV
         CONFIG_CMD_BMP
         CONFIG_CMD_BOOTD
         CONFIG_CMD_CACHE
         CONFIG_CMD_CRC32
         CONFIG_CMD_DHCP
         CONFIG_CMD_ENV
         CONFIG_CMD_EXPORTENV
         CONFIG_CMD_EXT2
         CONFIG_CMD_EXT4
         CONFIG_CMD_FLASH
         CONFIG_CMD_FS_GENERIC
         CONFIG_CMD_FUSE
         CONFIG_CMD_GPIO
         CONFIG_CMD_GPT
         CONFIG_CMD_GREPENV
         CONFIG_CMD_I2C
         CONFIG_CMD_IMLS
         CONFIG_CMD_IMPORTENV
         CONFIG_CMD_LOADB
         CONFIG_CMD_LOADS
         CONFIG_CMD_MEMINFO
         CONFIG_CMD_MII
         CONFIG_CMD_MTDPARTS
         CONFIG_CMD_NAND
         CONFIG_CMD_NAND_TRIMFFS
         CONFIG_CMD_NFS
         CONFIG_CMD_PCA953X
         CONFIG_CMD_PCA953X_INFO
         CONFIG_CMD_PCI
         CONFIG_CMD_PING
         CONFIG_CMD_READ
         CONFIG_CMD_SF
         CONFIG_CMD_SPI
         CONFIG_CMD_SPL
         CONFIG_CMD_SPL_WRITE_SIZE
         CONFIG_CMD_TIME
         CONFIG_CMD_TRACE
         CONFIG_CMD_UBI
         CONFIG_CMD_UBIFS
         CONFIG_CMD_UNZIP
         CONFIG_FS_EXT4
      Signed-off-by: NTom Rini <trini@konsulko.com>
      e985eb14
  5. 09 5月, 2020 1 次提交
  6. 10 1月, 2020 1 次提交
  7. 21 11月, 2019 1 次提交
    • T
      env: Finish migration of common ENV options · a09fea1d
      Tom Rini 提交于
      - In ARMv8 NXP Layerscape platforms we also need to make use of
        CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
      - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
        to 0.
      - Add Kconfig entry for ENV_ADDR.
      - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
      - Add ENV_xxx_REDUND options that depend on their primary option and
        SYS_REDUNDAND_ENVIRONMENT
      - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
        for the pre-main-U-Boot environment location.
      - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
        rather it being non-zero, as it will now be zero by default.
      - Rework the env_offset absolute in env/embedded.o to not use
        CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
        ENV_IS_IN_FLASH.
      - Migrate all platforms.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: uboot-stm32@st-md-mailman.stormreply.com
      Signed-off-by: NTom Rini <trini@konsulko.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Reviewed-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      a09fea1d
  8. 20 10月, 2018 1 次提交
  9. 18 8月, 2018 1 次提交
  10. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      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: NTom Rini <trini@konsulko.com>
      83d290c5
  11. 09 4月, 2018 1 次提交
  12. 24 2月, 2018 1 次提交
  13. 04 9月, 2017 4 次提交
  14. 15 8月, 2017 1 次提交
  15. 26 7月, 2017 1 次提交
  16. 20 3月, 2017 1 次提交
  17. 10 6月, 2016 1 次提交
  18. 26 4月, 2016 2 次提交
  19. 21 10月, 2015 1 次提交
  20. 13 8月, 2015 1 次提交
    • N
      kconfig: add config option for shell prompt · 181bd9dc
      Nikita Kiryanov 提交于
      Add option to set shell prompt string from menuconfig and migrate
      boards globally.
      
      The migration is done as follows:
      - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
        entry moved to their defconfig files.
      - Boards that defined some kind of #ifdef logic which selects the
        CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
        right before the #ifdef logic and were left alone.
      - This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
        CONFIG_SYS_PROMPT was removed from all <soc>_common.h and <arch>_common.h
        files. This results in a streamlined default value across platforms, and
        includes the following files: spear-common, sunxi-common, mv-common,
        ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
      - Boards that relied on <arch/soc>_common.h values of CONFIG_SYS_PROMPT were
        not updated in their respective defconfig files under the assumption that
        since they did not explicitly define a value, they're fine with whatever
        the default is.
      - On the other hand, boards that relied on a value defined in some
        <boards>_common.h file such as woodburn_common, rpi-common,
        bur_am335x_common, ls2085a_common, siemens_am33x_common, and
        omap3_evm_common, had their values moved to the respective defconfig files.
      - The define V_PROMPT was removed, since it is not used anywhere except for
        assigning a value for CONFIG_SYS_PROMPT.
      
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: NNikita Kiryanov <nikita@compulab.co.il>
      [trini: Add spring, sniper, smartweb to conversion]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      181bd9dc
  21. 26 6月, 2015 1 次提交
  22. 01 6月, 2015 1 次提交
  23. 20 5月, 2015 1 次提交
  24. 24 4月, 2015 1 次提交
  25. 28 3月, 2015 1 次提交
  26. 05 11月, 2013 1 次提交
  27. 15 10月, 2013 1 次提交
  28. 24 7月, 2013 1 次提交
  29. 21 6月, 2012 1 次提交
  30. 06 10月, 2011 1 次提交
  31. 27 10月, 2010 2 次提交
    • W
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk 提交于
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
    • W
      Rename CONFIG_SYS_INIT_RAM_END into CONFIG_SYS_INIT_RAM_SIZE · 553f0982
      Wolfgang Denk 提交于
      CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
      some end address; to make the meaning more clear we rename it into
      CONFIG_SYS_INIT_RAM_SIZE
      
      No other code changes are performed in this patch, only minor editing
      of white space (due to the changed length) and the comments was done,
      where noticed.
      
      Note that the code for the PATI and cmi_mpc5xx board configurations
      looks seriously broken.  Last known maintainers on Cc:
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Martin Winistoerfer <martinwinistoerfer@gmx.ch>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      553f0982
  32. 25 3月, 2010 1 次提交
  33. 25 8月, 2009 1 次提交