09 Feb, 2020

1 commit

  • Both CMD_MX_CYCLIC and MX_CYCLIC are in use and defined in Kconfig,
    but only the non-CMD version currently does anything. This changes all
    usages to prefer the CMD_MX_CYCLIC option (since it's only affecting
    addition of the commands), and switches defconfigs using the non-CMD
    version to use the CMD version.

    Signed-off-by: Joel Johnson
    Reviewed-by: Tom Rini

    Joel Johnson
     

23 Jan, 2020

1 commit


05 Dec, 2019

3 commits


04 Dec, 2019

1 commit


21 Nov, 2019

1 commit

  • - 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
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     

08 Nov, 2019

1 commit


26 Aug, 2019

2 commits


24 Aug, 2019

1 commit


20 Aug, 2019

1 commit


13 Aug, 2019

3 commits

  • Historically there have been various boot options, SPI flash,
    NAND or NOR. The NOR flash is mutually exclusive with MMC, but
    it isn't mutually exclusive with NAND or SPI Flash, so this patch
    enables both NAND flash and SPI Flash when booting from NOR.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • The configuration with NOR is mutually exclusive with MMC, and as
    such, the filesystem commands were disabled. With the USB host
    enabled, this patch enables the file system command which can
    be executed on storage devices attached to the USB.

    Signed-off-by: Adam Ford

    Adam Ford
     
  • The current size allocated to U-Boot is 384k, but U-Boot has grown
    to 436K which means that saving the environmental variables wipes
    out part of the U-Boot source and the board ceases to function.
    Due to the sector and erase size for the NOR part and a desire to
    not have to change partition sizes often, this patch moves the
    U-Boot environmental variables to an offset of 1M so saveenv
    does not brick the board. This patch also sets up MTDIDS and
    MTDPARTS to clearly show where U-Boot and U-Boot's environmental
    variables are located.

    Signed-off-by: Adam Ford

    Adam Ford
     

08 Aug, 2019

1 commit


30 Jul, 2019

1 commit

  • Enable the driver-model on da850-evm. We need to add a dummy nand node
    to the device tree, as the real nand node is a sub-node of the aemif
    device.

    On linux the aemif driver populates all its child nodes, but we can't do
    it in u-boot currently.

    Signed-off-by: Bartosz Golaszewski
    Tested-by: Adam Ford #da850-evm

    Bartosz Golaszewski
     

28 Jul, 2019

1 commit


26 Jul, 2019

1 commit


19 Feb, 2019

1 commit

  • The SPI NOR frameware was recently updated, but they require a little
    more memory that we had previosly allocated, so it stopped booting.
    This patch doubles the size of CONFIG_SPL_SYS_MALLOC_F_LEN to 0x800.

    Fixes: c4e8862308d4 ("mtd: spi: Switch to new SPI NOR framework")

    Signed-off-by: Adam Ford

    Adam Ford
     

08 Jan, 2019

1 commit


22 Oct, 2018

1 commit


20 Oct, 2018

1 commit


29 Sep, 2018

3 commits


15 Sep, 2018

1 commit


12 Sep, 2018

2 commits


04 Sep, 2018

1 commit


18 Aug, 2018

3 commits


17 Aug, 2018

1 commit

  • We have the following cases:
    - CONFIG_NR_DRAM_BANKS was defined, migrate normally
    - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
    CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
    - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
    2), set this to 8.

    Signed-off-by: Tom Rini

    Tom Rini
     

24 Jul, 2018

1 commit


28 Apr, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_SPI

    This partly involves updating code that assumes that CONFIG_SPI implies
    things that are specific to the MPC8xx SPI driver. For now, just update
    the CONFIG tests. This also involves reworking the default for
    CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
    reasonable default, as it does not cause any compile failures.

    Signed-off-by: Adam Ford
    Signed-off-by: Tom Rini

    Adam Ford
     

17 Apr, 2018

1 commit


24 Feb, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

11 Feb, 2018

1 commit

  • On the NIOS2 and Xtensa architectures, we do not have
    CONFIG_SYS_TEXT_BASE set. This is a strict migration of the current
    values into the defconfig and removing them from the headers.

    I did not attempt to add more default values in and for now will leave
    that to maintainers.

    Signed-off-by: Tom Rini

    Tom Rini
     

23 Jan, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_SOC_DA8XX
    CONFIG_SOC_DA850
    CONFIG_DA850_LOWLEVEL
    CONFIG_MACH_DAVINCI_DA850_EVM
    CONFIG_SYS_DA850_PLL_INIT
    CONFIG_SYS_DA850_DDR_INIT

    Signed-off-by: Adam Ford
    Reviewed-by: David Lechner
    [trini: Rework CONFIG_SYS_DA850_PLL_INIT so it's selected on SOC_DA8XX]
    Signed-off-by: Tom Rini

    Adam Ford