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
     

18 Jan, 2018

1 commit


25 Dec, 2017

1 commit

  • Linux device tree contains "ethernet" node for all possible
    interface supported by SoC i.e. LS1046A.

    It is not necessary for a SerDes protocol to support all possible
    interface. So disable unavailable "ethernet" node in device tree.

    Also, enable FDT_SEQ_MACADDR_FROM_ENV to fetch MAC address
    sequentially from environment variables

    Signed-off-by: Prabhakar Kushwaha
    Reviewed-by: York Sun

    Prabhakar Kushwaha
     

13 Dec, 2017

2 commits


07 Dec, 2017

1 commit

  • Add fall back option, to boot from NOR/QSPI/SD for LS1043, LS1046,
    LS1021 in case of distro boot failure.

    For LS1046, add kernel validation in case of secure boot in sd_bootcmd
    and qspi_bootcmd. For LS1043 and LS1021, add kernel validation in case
    of secure boot in sd_bootcmd, qspi_bootcmdand nor_bootcmd.

    Signed-off-by: Vinitha Pillai
    Reviewed-by: York Sun

    Vinitha Pillai-B57223
     

16 Nov, 2017

1 commit


06 Nov, 2017

1 commit


27 Oct, 2017

3 commits


02 Sep, 2017

1 commit

  • This syncs all of the currently Kconfig'd symbols out of the headers and
    into the defconfig files. This has two exceptions, first am335x_evm
    needs to be converted to DM in SPL and then it can stop undef'ing
    CONFIG_DM_USB. Leaving this as-is results in a build failure, and
    without work, run time failure. The other case is am43xx_evm.h and in
    turn am43xx_evm_usbhost_boot. The problem here is that we need DWC3 USB
    host mode in SPL, but still desire to have gadget mode in U-Boot proper.

    Signed-off-by: Tom Rini

    Tom Rini
     

09 Aug, 2017

1 commit


08 Aug, 2017

1 commit


02 Aug, 2017

1 commit


01 Aug, 2017

4 commits


29 Jul, 2017

1 commit


26 Jul, 2017

2 commits

  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_SPI_FLASH

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This converts the following to Kconfig:
    CONFIG_ENV_IS_IN_MMC
    CONFIG_ENV_IS_IN_NAND
    CONFIG_ENV_IS_IN_UBI
    CONFIG_ENV_IS_NOWHERE

    In fact this already exists for sunxi as a 'choice' config. However not
    all the choices are available in Kconfig yet so we cannot use that. It
    would lead to more than one option being set.

    In addition, one purpose of this series is to allow the environment to be
    stored in more than one place. So the existing choice is converted to a
    normal config allowing each option to be set independently.

    There are not many opportunities for Kconfig updates to reduce the size of
    this patch. This was tested with

    ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC

    And then manual updates. This is because for CHAIN_OF_TRUST boards they
    can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
    now.

    Signed-off-by: Simon Glass
    Signed-off-by: Tom Rini

    Simon Glass
     

12 Jul, 2017

1 commit


24 May, 2017

3 commits


18 Apr, 2017

2 commits

  • Add QSPI Secure Boot target. Also enable sec init.

    Signed-off-by: Vinitha Pillai
    Signed-off-by: Sumit Garg
    Reviewed-by: York Sun

    Vinitha Pillai-B57223
     
  • Using changes in this patch we were able to reduce approx 4k
    size of u-boot-spl.bin image. Following is breif description of
    changes to reduce SPL size:
    1. Changes in board/freescale/ls1046ardb/Makefile to remove
    compilation of eth.c and cpld.c in case of SPL build.
    2. Changes in board/freescale/ls1046ardb/ls1046ardb.c to keep
    only ddr_init and board_early_init_f funcations in case of SPL
    build.
    3. Changes in ls1046a_common.h & ls1046ardb.h to remove driver
    specific macros due to which static data was being compiled in
    case of SPL build.
    4. Disable MMC driver from bieng compiled in case of SPL NAND
    build and NAND driver from bieng compiled in case of SPL MMC build.

    Signed-off-by: Vinitha Pillai
    Signed-off-by: Sumit Garg
    Reviewed-by: York Sun

    Sumit Garg
     

14 Mar, 2017

1 commit


13 Feb, 2017

1 commit

  • We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
    not completed. Finish this work by the tool.

    During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
    Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
    than those of "#ifdef CONFIG_SYS_NO_FLASH". Flipping the logic will
    make the code more readable. Besides, negative meaning symbols do
    not fit in obj-$(CONFIG_...) style Makefiles.

    This commit was created as follows:

    [1] Edit "default n" to "default y" in the config entry in
    common/Kconfig.

    [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"

    [3] Rename the instances in defconfigs by the following:
    find . -path './configs/*_defconfig' | xargs sed -i \
    -e '/CONFIG_SYS_NO_FLASH=y/d' \
    -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'

    [4] Change the conditionals by the following:
    find . -name '*.[ch]' | xargs sed -i \
    -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
    -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
    -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
    -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'

    [5] Modify the following manually
    - Rename the rest of instances
    - Remove the description from README
    - Create the new Kconfig entry in drivers/mtd/Kconfig
    - Remove the old Kconfig entry from common/Kconfig
    - Remove the garbage comments from include/configs/*.h

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

28 Jan, 2017

3 commits


22 Jan, 2017

1 commit


19 Jan, 2017

5 commits


12 Oct, 2016

1 commit