26 Feb, 2018

1 commit

  • Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig. We can
    provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
    RTC in use. We can also provide a default for ARCH_LS1043A and
    ARCH_LS1021A as they had been previously calculated and their symbols
    are in Kconfig. In the case of other QE-enabled platforms, they are not
    so we must update the relevant defconfig files. The previous default
    only applied in some cases, even on a specific SoC family.

    Reviewed-by: Lukasz Majewski
    Reviewed-by: Alex Kiernan
    Signed-off-by: Tom Rini

    Tom Rini
     

24 Feb, 2018

9 commits


23 Feb, 2018

2 commits


22 Feb, 2018

1 commit


19 Feb, 2018

1 commit

  • Add a new API to perform iodelay recalibration without isolate
    io to be used in uboot.

    The data manual of J6/J6 Eco recommends to set different IODELAY values
    depending on the mode in which the MMC/SD is enumerated in order to
    ensure IO timings are met. The MMC driver can use the new API to
    set the IO delay values depending on the MMC mode.

    Signed-off-by: Kishon Vijay Abraham I
    Signed-off-by: Jean-Jacques Hiblot

    Kishon Vijay Abraham I
     

18 Feb, 2018

2 commits


17 Feb, 2018

2 commits


16 Feb, 2018

3 commits

  • This makes the shell so much more pleasant to use, so enable it.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     
  • Due to size limitations of the MERAM, switch U-Boot to SPL.
    The SPL is loaded by the SPI_LOADER into MERAM and then loads
    U-Boot proper into DRAM. This way U-Boot can freely grow in
    size in DRAM, as there is plenty of it.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu
    ---
    NOTE: To update U-Boot, first install u-boot.img to 0x140000 in SPI NOR,
    then use the Minimon to flash u-boot-spl.srec using ls,2,e6304000.
    To generate u-boot-spl.srec, use objcopy:
    arm-linux-gnueabi-objcopy -O srec spl/u-boot-spl u-boot-spl.srec

    Marek Vasut
     
  • This makes the shell so much more pleasant to use, so enable it.

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     

15 Feb, 2018

6 commits

  • All Socfpga boards from ./include/configs/socfpga_* define
    CONFIG_HW_WATCHDOG.
    To ease CONFIG_HW_WATCHDOG conversion to Kconfig select it in
    config ARCH_SOCFPGA (arch/arm/Kconfig) section.

    Signed-off-by: Lukasz Majewski
    Signed-off-by: Simon Goldschmidt

    Lukasz Majewski
     
  • This converts the following to Kconfig:
    CONFIG_SYS_BOOTCOUNT_SINGLEWORD

    Signed-off-by: Lukasz Majewski
    Tested-by: Alex Kiernan
    Reviewed-by: Ian Ray

    Lukasz Majewski
     
  • This converts the following to Kconfig:
    CONFIG_BOOTCOUNT_LIMIT

    Signed-off-by: Lukasz Majewski
    Tested-by: Alex Kiernan
    Reviewed-by: Hannes Schmelzer
    Acked-by: Hannes Schmelzer

    Lukasz Majewski
     
  • >From DFU_ALT_INFO_EMMC (include/environment/ti/dfu.h) we can see that
    rootfs will be flashed to second partition on eMMC. But at the moment we
    have only one partition in $partitions environment variable. Let's add
    "bootloader" partition prior to "rootfs", so that DFU works correctly.
    This also fixes eMMC boot, which looks for rootfs on second partition.

    "bootloader" partition start corresponds to "u-boot.img.raw" in DFU
    eMMC info, which is 0x300 sector (384 KiB offset from eMMC start).

    rootfs start address can be also found from DFU eMMC info.
    bootloader-related area is finished at 0x1500 sector (2688 KiB offset
    from eMMC start). This should be the start address for rootfs in
    $partitions environment variable.

    While at it, fix U-Boot environment address to be the same as for
    AM57x EVM, so that it doesn't clash with other partitions.

    So now eMMC layout looks like this:

    ===============================================================

    0 +------------------------+
    | MBR/GPT header | 128 -
    128 +------------------------+
    | MLO | 256 -
    384 +------------------------+
    | u-boot.img | 1792 bootloader
    2176 +------------------------+
    | //////// hole //////// | 256 -
    2432 +------------------------+
    | U-Boot environment | 128 -
    2560 +------------------------+
    | U-Boot environment | 128 -
    | (redundant) |
    2688 +------------------------+
    | rootfs | remaining rootfs
    end +------------------------+

    ===============================================================

    "hole" area can be used further for storing U-Boot environment (like
    it's done in AM57x EVM config file) or for increasing u-boot.img area
    (in case u-boot.img size increased, e.g. if new dtbs were added).

    This commit conforms with Linux partition table from f6d245b8c56c
    ("arm: am57xx: Fix Linux boot from eMMC") commit, making things in
    uniform way.

    Signed-off-by: Sam Protsenko
    Reviewed-by: Lokesh Vutla
    Reviewed-by: Tom Rini

    Sam Protsenko
     
  • Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the
    current set of options we have in Kconfig. We will need to have some
    options available for SPL and !SPL_FRAMEWORK so this is important. In a
    few cases we re-order existing options so that we have less escapes from
    the SPL_FRAMEWORK guard.

    Signed-off-by: Tom Rini

    Tom Rini
     
  • The option CONFIG_SPL_MMC_MINIMAL is unused in code, drop it.

    Signed-off-by: Tom Rini

    Tom Rini
     

14 Feb, 2018

9 commits


13 Feb, 2018

1 commit


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
     

10 Feb, 2018

1 commit


09 Feb, 2018

1 commit

  • config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
    based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
    Kconfig allows us to drastically shrink the logic in
    config_fallbacks.h

    Signed-off-by: Adam Ford
    [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
    Signed-off-by: Tom Rini

    Adam Ford