Skip to content
Snippets Groups Projects
  1. Jan 17, 2024
    • Rasmus Villemoes's avatar
      README: drop mention of MEM_SUPPORT_64BIT_DATA · d060c49a
      Rasmus Villemoes authored and Tom Rini's avatar Tom Rini committed
      
      The first sentence is half-way true; the macro is always defined, but
      has the value 0 or 1.
      
      The second is outright false. A lot of code guarded by
      MEM_SUPPORT_64BIT_DATA uses a "ulong" to store values, so if
      sizeof(long) is not 8, that code would probably compile, but not work
      at all as expected.
      
      It would probably be possible to make all such code explicitly use u64
      and thus make it work on 32 bit targets, but until that is done, do
      not pretend that it's ok to override the automatic value of
      MEM_SUPPORT_64BIT_DATA.
      
      Signed-off-by: default avatarRasmus Villemoes <rasmus.villemoes@prevas.dk>
      d060c49a
  2. Jan 03, 2024
  3. Dec 13, 2023
  4. Nov 16, 2023
  5. Oct 06, 2023
  6. Jul 15, 2023
    • Heinrich Schuchardt's avatar
      README: remove Minicom comment · a12b3643
      Heinrich Schuchardt authored
      
      The main README file is the wrong place to document how different terminal
      emulations can be used to access the U-Boot serial console. C-Kermit which
      requires a configuration file or several commands to access the U-Boot
      console may not be the preferred choice for newcomers. The provided wiki
      link is invalid.
      
      The man-pages for loadb and loads already show how to use the commands with
      picocom.
      
      Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
      a12b3643
  7. Feb 07, 2023
  8. Feb 06, 2023
    • Linus Walleij's avatar
      cmd: Add a SEAMA image load command · 41a29f28
      Linus Walleij authored and Tom Rini's avatar Tom Rini committed
      
      Add a command to load SEAMA (Seattle Image), a NAND flash
      on-flash storage format.
      
      This type of flash image is found in some D-Link routers such
      as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, DIR890L and
      DCH-M225, as well as in WD and NEC routers on the ath79
      (MIPS), Broadcom BCM53xx, and RAMIPS platforms.
      
      This U-Boot command will read and decode a SEAMA image from
      raw NAND flash on any platform. As it is always using big endian
      format for the data decoding is always necessary on platforms
      such as ARM.
      
      The command is needed to read a SEAMA-encoded boot image on the
      D-Link DIR-890L router for boot from NAND flash in an upcoming
      port of U-Boot to the Broadcom Northstar (BCM4709, BCM53xx)
      architecture.
      
      A basic test and documentation is added as well. The test must
      be run on a target with NAND flash support and at least one
      resident SEAMA image in flash.
      
      Cc: Rafał Miłecki <rafal@milecki.pl>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      41a29f28
  9. Jan 27, 2023
  10. Jan 20, 2023
    • Tom Rini's avatar
      global: Finish CONFIG -> CFG migration · 6e7df1d1
      Tom Rini authored
      
      At this point, the remaining places where we have a symbol that is
      defined as CONFIG_... are in fairly odd locations. While as much dead
      code has been removed as possible, some of these locations are simply
      less obvious at first. In other cases, this code is used, but was
      defined in such a way as to have been missed by earlier checks.  Perform
      a rename of all such remaining symbols to be CFG_... rather than
      CONFIG_...
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      6e7df1d1
  11. Dec 23, 2022
  12. Dec 22, 2022
    • Tom Rini's avatar
      usb: Remove CONFIG_USBD_HS · 0c3a6d44
      Tom Rini authored
      
      This define is not enabled by the only platform which currently enables
      the legacy option of CONFIG_USB_DEVICE. We can drop this code.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      0c3a6d44
    • Tom Rini's avatar
      Convert CONFIG_STANDALONE_LOAD_ADDR to Kconfig · 32b7e39d
      Tom Rini authored
      
      This converts the following to Kconfig:
         CONFIG_STANDALONE_LOAD_ADDR
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      32b7e39d
    • Tom Rini's avatar
      Convert CONFIG_OVERWRITE_ETHADDR_ONCE to Kconfig · 0a69d6af
      Tom Rini authored
      
      This converts the following to Kconfig:
         CONFIG_OVERWRITE_ETHADDR_ONCE
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      0a69d6af
    • Tom Rini's avatar
      global: Remove unused CONFIG symbols · 308520b8
      Tom Rini authored
      
      This removes the following unreferenced CONFIG symbols:
         CONFIG_FDTADDR
         CONFIG_FDTFILE
         CONFIG_FLASH_SECTOR_SIZE
         CONFIG_FSL_CPLD
         CONFIG_HDMI_ENCODER_I2C_ADDR
         CONFIG_I2C_MVTWSI
         CONFIG_I2C_RTC_ADDR
         CONFIG_IRAM_END
         CONFIG_IRAM_SIZE
         CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
         CONFIG_L1_INIT_RAM
         CONFIG_MACB_SEARCH_PHY
         CONFIG_MIU_2BIT_21_7_INTERLEAVED
         CONFIG_MTD_NAND_VERIFY_WRITE
         CONFIG_MVGBE_PORTS
         CONFIG_NETDEV
         CONFIG_NUM_DSP_CPUS
         CONFIG_PHY_BASE_ADR
         CONFIG_PHY_INTERFACE_MODE
         CONFIG_PSRAM_SCFG
         CONFIG_RAMBOOT_SPIFLASH
         CONFIG_RAMBOOT_TEXT_BASE
         CONFIG_RD_LVL
         CONFIG_ROCKCHIP_SDHCI_MAX_FREQ
         CONFIG_SETUP_INITRD_TAG
         CONFIG_SH_QSPI_BASE
         CONFIG_SMDK5420
         CONFIG_SOCRATES
         CONFIG_SPI_ADDR
         CONFIG_SPI_FLASH_QUAD
         CONFIG_SPI_FLASH_SIZE
         CONFIG_SPI_HALF_DUPLEX
         CONFIG_SPI_N25Q256A_RESET
         CONFIG_TEGRA_SLINK_CTRLS
         CONFIG_TPM_TIS_BASE_ADDRESS
         CONFIG_UBOOT_SECTOR_COUNT
         CONFIG_UBOOT_SECTOR_START
         CONFIG_VAR_SIZE_SPL
         CONFIG_VERY_BIG_RAM
      
      And also:
         BL1_SIZE
         PHY_NO
         RESERVE_BLOCK_SIZE
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      308520b8
    • Tom Rini's avatar
      i2c: Remove CONFIG_I2C_MULTI_BUS · 1353b25e
      Tom Rini authored
      
      This functionality is part of the legacy I2C subsystem and is currently
      unused anywhere.  Remove the remaining references.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      1353b25e
    • Tom Rini's avatar
      Convert CONFIG_HOSTNAME et al to Kconfig · 54f80dd2
      Tom Rini authored
      
      This converts the following to Kconfig:
         CONFIG_GATEWAYIP
         CONFIG_HOSTNAME
         CONFIG_IPADDR
         CONFIG_NETMASK
         CONFIG_ROOTPATH
         CONFIG_SERVERIP
         CONFIG_UBOOTPATH
      
      To do this, we introduce a CONFIG_USE_ form of each of the above and
      change include/env_default.h to test for that to be set before setting a
      value. Further, we don't want to stringify the IP address related values
      as they are now properly strings via Kconfig.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      54f80dd2
    • Tom Rini's avatar
      Convert CONFIG_FLASH_SPANSION_S29WS_N et al to Kconfig · 3a581af2
      Tom Rini authored
      
      This converts the following to Kconfig:
      
         CONFIG_FLASH_SPANSION_S29WS_N
         CONFIG_FLASH_VERIFY
         CONFIG_FSL_FM_10GEC_REGULAR_NOTATION
         CONFIG_FSL_ISBC_KEY_EXT
         CONFIG_FSL_TRUST_ARCH_v1
         CONFIG_FSL_SDHC_V2_3
         CONFIG_MAX_DSP_CPUS
         CONFIG_MIU_2BIT_INTERLEAVED
         CONFIG_SERIAL_BOOT
         CONFIG_SPI_BOOTING
         CONFIG_X86EMU_RAW_IO
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      3a581af2
    • Tom Rini's avatar
      Convert CONFIG_FLASH_SHOW_PROGRESS to Kconfig · 98fbad63
      Tom Rini authored
      
      This converts the following to Kconfig:
         CONFIG_FLASH_SHOW_PROGRESS
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      98fbad63
    • Tom Rini's avatar
      env: Rework ENV_IS_EMBEDDED and related logic slightly · 6bd23720
      Tom Rini authored
      
      - Drop CONFIG_BUILD_ENVCRC as this is never set directly but instead
        means ENV_IS_EMBEDDED, so reference that in code and rename the Makefile
        usage to BUILD_ENVCRC.
      - Remove extra-$(CONFIG_ENV_IS_EMBEDDED) line as it could never be true,
        and likely why there is an extra- line for CONFIG_ENV_IS_IN_FLASH (the
        only use case today of embedded environments).
      - With these slight changes we can then see that using the calculated
        symbol of ENV_IS_EMBEDDED is the right thing to use in any code which
        needs to know this situation and can remove CONFIG_ENV_IS_EMBEDDED
        entirely.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      6bd23720
  13. Dec 05, 2022
Loading