15 Feb, 2018

1 commit


23 Jan, 2018

1 commit


01 Jan, 2018

1 commit

  • Commit b6251db8c3f0 ("Kconfig: Introduce USE_BOOTCOMMAND and migrate
    BOOTCOMMAND") removed CONFIG_BOOTCOMMAND option from
    include/configs/am335x_evm.h file. But that option wasn't added to
    defconfig files for BeagleBone Black board.

    Because of this we can't boot Linux from SD card using just
    "run bootcmd", getting next error:

    ** File not found /boot/undefined **

    That's because "fdtfile" variable has "undefined" value by default, and
    "bootcmd" doesn't call "run findfdt" command, which assigns "fdtfile" to
    correct device tree file for current board name (obtained from EEPROM).

    So we are forced to either call "run findfdt" command manually, or
    assign manually "fdtfile=am335x-boneblack.dtb" (e.g. in uEnv.txt file).

    Bring back CONFIG_BOOTCOMMAND to BBB defconfigs so that we can boot
    Linux rootfs from SD card automatically without any addition actions.

    Signed-off-by: Sam Protsenko

    Sam Protsenko
     

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
     

04 Oct, 2017

4 commits


30 Sep, 2017

1 commit


02 Sep, 2017

1 commit


28 Aug, 2017

1 commit


14 Aug, 2017

1 commit


12 Aug, 2017

1 commit

  • This converts the following to Kconfig:
    CONFIG_CMD_SPL

    Note that trats does not actually use SPL, so this option can no-longer be
    set.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: Philipp Tomsich

    Simon Glass
     

08 Aug, 2017

1 commit


01 Aug, 2017

1 commit


26 Jul, 2017

2 commits

  • 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
     
  • Rsync all defconfig files using moveconfig.py

    Signed-off-by: Tom Rini

    Tom Rini
     

25 Jul, 2017

1 commit


12 Jul, 2017

1 commit

  • When CONFIG_CMD_FASTBOOT or CONFIG_USB_FUNCTION_FASTBOOT are defined
    in am335x_evm.h, a dependency on g_dnl.c is created. This in turn
    creates a dependency on having USB gadget enabled.
    As a result we can't create configs with USB gadget disabled.

    Since these CONFIG_ variables are now part of kconfig, move them to
    the board defconfigs, and out of am335x_evm.h. This both preserves
    current defaults, and allows creating configs with USB gadget off.

    Signed-off-by: Alexandru Gagniuc
    Reviewed-by: Tom Rini

    Alexandru Gagniuc
     

07 Jul, 2017

1 commit


19 Jun, 2017

1 commit


09 May, 2017

1 commit


28 Apr, 2017

2 commits


14 Mar, 2017

1 commit


28 Jan, 2017

1 commit


26 Jan, 2017

1 commit


24 Jan, 2017

1 commit


22 Jan, 2017

1 commit


11 Jan, 2017

1 commit

  • Move (and rename) the following CONFIG options to Kconfig:

    CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI)
    CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS)
    CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC)
    CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS)
    CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA)
    CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI)

    They are the same option names as used in Linux.

    This commit was created as follows:

    [1] Rename the options with the following command:

    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e '
    s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
    s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
    s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
    s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
    s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
    s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
    '

    [2] Commit the changes

    [3] Create entries in driver/mmc/Kconfig.
    (copied from Linux)

    [4] Move the options with the following command
    tools/moveconfig.py -y -r HEAD \
    MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI

    [5] Sort and align drivers/mmc/Makefile for readability

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Marek Vasut

    Masahiro Yamada
     

04 Dec, 2016

1 commit

  • A number of platforms had been using the distro default feature before
    it was moved to Kconfig but did not enable the new Kconfig option when
    it was enabled. This caused a regression in terms of features and this
    introduces breakage when more things move to Kconfig.

    Signed-off-by: Tom Rini

    Tom Rini
     

24 Oct, 2016

1 commit


15 Oct, 2016

1 commit


02 Oct, 2016

1 commit

  • The config option AM33XX is used in several boards and should be
    defined as a stand-alone option for this SOC. We break this out
    from target boards that use this SoC and common headers then enable
    AM33XX on in all the boards that used these targets to eliminate any
    functional change with this patch.

    This is similar to what has already been done in
    9de852642cae ("arm: Kconfig: Add support for AM43xx SoC specific Kconfig")
    and is done for the same reasons.

    Signed-off-by: Andrew F. Davis
    Acked-by: Lokesh Vutla
    Reviewed-by: Tom Rini

    Andrew F. Davis
     

27 Sep, 2016

1 commit

  • Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
    CMD_DFU (as we must have the DFU command enabled to do anything DFU).
    Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
    options for all of the back end choices that DFU can make use of.

    Cc: Lukasz Majewski
    Signed-off-by: Tom Rini
    Acked-by: Lukasz Majewski

    Tom Rini
     

20 Sep, 2016

1 commit


17 Sep, 2016

3 commits


10 Sep, 2016

1 commit