26 Mar, 2019

1 commit

  • This converts the following to Kconfig:
    CONFIG_SF_DEFAULT_BUS
    CONFIG_SF_DEFAULT_CS
    CONFIG_SF_DEFAULT_MODE
    CONFIG_SF_DEFAULT_SPEED

    I use moveconfig script and then manual check on generated u-boot.cfg
    to solve the remaining issue.

    Signed-off-by: Patrick Delaunay

    Patrick Delaunay
     

03 Mar, 2019

1 commit


08 Jan, 2019

1 commit


25 Oct, 2018

1 commit


20 Oct, 2018

1 commit


27 Sep, 2018

1 commit


04 Sep, 2018

1 commit


18 Aug, 2018

1 commit


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
     

27 Jul, 2018

1 commit


11 Jul, 2018

1 commit


04 Jun, 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
     

09 Apr, 2018

1 commit


08 Apr, 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
     

06 Nov, 2017

1 commit


13 Oct, 2017

1 commit


11 Oct, 2017

1 commit

  • Having this as a 'default y' is rather annoying because it doesn't
    actually compile unless other options are defined in the board header:

    ../cmd/bootm.c: In function 'do_imls_nor':
    ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
    i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {

    Make it 'default n' so people who develop new boards that start from a
    blank defconfig have one less compilation failure to debug.

    Signed-off-by: Tuomas Tynkkynen

    Tuomas Tynkkynen
     

09 Oct, 2017

2 commits

  • Due to a conflict with recent Primary Protected Application (PPA),
    PPA cannot be loaded for SPL stage, falcon boot is not enabled by
    default. With compatible PPA image, to enable falcon boot, activate
    these Kconfig options in defconfig
    CONFIG_SPL_FIT=y
    CONFIG_SPL_FSL_LS_PPA=y
    CONFIG_SPL_GZIP=y
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_OS_BOOT=y
    CONFIG_SPL_OF_LIBFDT=y

    Because environment variables are not avaiable during SPL stage for
    SD boot, set "boot_os=y" as default.

    Signed-off-by: York Sun
    Reviewed-by: Simon Glass

    York Sun
     
  • CONFIG_SPL_BOARD_INIT is used for SPL boot. Enable it in defconfig
    for LS1043ARDB SPL targets.

    Signed-off-by: York Sun

    York Sun
     

23 Sep, 2017

1 commit


28 Aug, 2017

1 commit


15 Aug, 2017

2 commits


11 Aug, 2017

1 commit


09 Aug, 2017

1 commit


08 Aug, 2017

1 commit


02 Aug, 2017

1 commit


01 Aug, 2017

2 commits

  • Include common config_distro_defaults.h and config_distro_bootcmd.h
    for u-boot enviroments to support automatical distro boot which
    scan boot.scr from external storage devices(e.g. SD/USB/SATA/SCSI disk)
    and execute autoboot script. Tested on ls1043ardb with automatically
    boot Ubuntu from SD card or USB disk, if it fails to detect external
    storage disk, fall back to nor/qspi boot.

    Signed-off-by: Shengzhou Liu
    Reviewed-by: York Sun

    Shengzhou Liu
     
  • Migrate all remaining instances of CMD_NAND, CMD_NAND_TRIMFFS
    CMD_NAND_LOCK_UNLOCK and CMD_NAND_TORTURE from the headers into the
    defconfig files.

    Tested-by: Adam Ford
    Signed-off-by: Tom Rini
    Reviewed-by: Bin Meng

    Tom Rini
     

26 Jul, 2017

1 commit

  • 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
     

02 Jun, 2017

1 commit


01 May, 2017

1 commit


18 Apr, 2017

1 commit

  • Using changes in this patch we were able to reduce approx 10k
    size of u-boot-spl.bin image. Following is breif description of
    changes to reduce SPL size:
    1. Changes in board/freescale/ls1043ardb/Makefile to remove
    compilation of eth.c and cpld.c in case of SPL build.
    2. Changes in board/freescale/ls1043ardb/ls1043ardb.c to keep
    only ddr_init and board_early_init_f funcations in case of SPL
    build.
    3. Changes in ls1043a_common.h & ls1043ardb.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.
    5. Remove I2C driver support from SPL in case of LS1043ARDB.

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

    Sumit Garg
     

29 Mar, 2017

1 commit


14 Mar, 2017

1 commit


10 Mar, 2017

1 commit

  • In some cases this is absolutely required, so select this for some secure
    features. This also requires migration of RSA_FREESCALE_EXP

    Cc: Ruchika Gupta
    Cc: Poonam Aggrwal
    Cc: Naveen Burmi
    Cc: Po Liu
    Cc: Shengzhou Liu
    Cc: Priyanka Jain
    Cc: Sumit Garg
    Cc: Shaohui Xie
    Cc: Chunhe Lan
    Cc: Feng Li
    Cc: Alison Wang
    Cc: Mingkai Hu
    Cc: York Sun
    Cc: Saksham Jain
    Cc: Prabhakar Kushwaha
    Signed-off-by: Tom Rini

    Tom Rini
     

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

1 commit