15 Feb, 2018

1 commit

  • 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
     

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
     

21 Oct, 2017

1 commit

  • We add the various SMC91XX symbols to drivers/net/Kconfig and then this
    converts the following to Kconfig:
    CONFIG_SMC911X
    CONFIG_SMC911X_BASE
    CONFIG_SMC911X_16_BIT
    CONFIG_SMC911X_32_BIT

    Signed-off-by: Adam Ford
    [trini: Apply to the rest of the tree, re-squash old and new patch]
    Signed-off-by: Tom Rini

    Adam Ford
     

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
     

08 Sep, 2017

2 commits


28 Aug, 2017

1 commit


15 Aug, 2017

1 commit


26 Jul, 2017

1 commit


19 Jun, 2017

1 commit


16 May, 2017

1 commit


14 Mar, 2017

1 commit


21 Jan, 2017

1 commit

  • We have long had available optimized versions of the memset and memcpy
    functions that are borrowed from the Linux kernel. We should use these
    in normal conditions as the speed wins in many workflows outweigh the
    relatively minor size increase. However, we have a number of places
    where we're simply too close to size limits in SPL and must be able to
    make the size vs performance trade-off in those cases.

    Cc: Philippe Reynes
    Cc: Eric Jarrige
    Cc: Heiko Schocher
    Cc: Magnus Lilja
    Cc: Lokesh Vutla
    Cc: Chander Kashyap
    Cc: Akshay Saraswat
    Cc: Simon Glass
    Cc: Stefan Roese
    Signed-off-by: Tom Rini
    Acked-by: Stefan Roese
    Reviewed-by: Simon Glass

    Tom Rini
     

18 Jan, 2017

3 commits

  • Tom Rini
     
  • Commit bb5930d5c97f ("exynos: video: Convert several boards to driver
    model for video") converted the Exynos Chromebooks machines to use DM
    for video, but this breaks backward compatibility with the stdout env
    var since now stdout is expected to be "vidconsole" instead of "lcd".

    This causes display to not work when updating u-boot on these boards
    if the old stdout env var is used. Since these are consumer devices,
    there's no easy way to have a serial console so users may be confused
    thinking that u-boot failed to boot, or in the best case will need to
    update the stdout env var blindly to make the display to work again.

    There's a CONFIG_VIDCONSOLE_AS_LCD config option to workaround this,
    so enable it in the Chromebooks' default configuration files to allow
    users to change their stdout env var before the workaround is removed.

    Suggested-by: Simon Glass
    Signed-off-by: Javier Martinez Canillas
    Signed-off-by: Minkyu Kang

    Javier Martinez Canillas
     
  • Once upon a time u-boot didn't support building with two usb host
    controller types, these days it does. Enable XHCI in addition to the
    existing EHCI support so user can plug usb devices in all available
    ports regardless of the controller type.

    Signed-off-by: Sjoerd Simons
    Reviewed-by: Javier Martinez Canillas
    Reviewed-by: Jaehoon Chung
    Signed-off-by: Minkyu Kang

    Sjoerd Simons
     

11 Jan, 2017

1 commit

  • This commit was created as follows:

    [1] Rename the option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'

    [2] create the entry for MMC_DW in drivers/mmc/Kconfig
    (the prompt and help were copied from Linux)

    [3] run "tools/moveconfig.py -y MMC_DW"

    [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry

    [5] Clean-up doc/README.socfpga by hand

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

    Masahiro Yamada
     

30 Dec, 2016

3 commits

  • While I moved the options, I also renamed them so that they are all
    prefixed with MMC_SDHCI_.

    This commit was created in the following steps.

    [1] Rename with the following command
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e '
    s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
    s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
    s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
    s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
    s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
    s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
    '

    [2] create the Kconfig entries in drivers/mmc/Kconfig

    [3] Move the options by the following command
    tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
    MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR

    [4] Sort drivers/mmc/Makefile for readability

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     
  • Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
    My motivation for the rename is, ultimately, to make all the MMC
    options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
    like Linux.

    This commit was created as follows:

    [1] Rename the config option with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'

    [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig

    [3] run "tools/moveconfig.py -y MMC_SDHCI"

    [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries

    Signed-off-by: Masahiro Yamada
    Reviewed-by: Tom Rini
    Reviewed-by: Jaehoon Chung

    Masahiro Yamada
     
  • Generated by "tools/moveconfig -s".

    This will make config moves easier.

    Signed-off-by: Masahiro Yamada

    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

3 commits


20 Sep, 2016

1 commit


17 Sep, 2016

1 commit


10 Sep, 2016

1 commit


09 Sep, 2016

1 commit


25 May, 2016

2 commits

  • Update several boards to use driver model for video. This involves changes
    to the EDP and FIMD (frame buffer) drivers. Existing PWM, simple-panel and
    pwm-backlight drivers are used. These work without additional configuration
    since they use the device tree settings in the same way as Linux.

    Boards converted are:
    - snow
    - spring
    - peach-pit
    - peach-pi

    All have been tested. Not converted:

    - MIPI display driver
    - s5pc210_universal
    - smdk5420
    - smdk5250
    - trats
    - trats2

    Signed-off-by: Simon Glass
    Acked-by: Anatolij Gustschin
    Signed-off-by: Minkyu Kang

    Simon Glass
     
  • The existing Exynos 32-bit platform support needs to be realigned in
    order to support newer 64-bit Exynos platforms. The driver model will
    be utlized for drivers on the 64-bit Exynos platforms and so some of
    the older platform support code would not be required for the newer
    64-bit Exynos platforms.

    Cc: Minkyu Kang
    Signed-off-by: Thomas Abraham
    Reviewed-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Thomas Abraham
     

26 Apr, 2016

3 commits


15 Mar, 2016

1 commit

  • There are already two FIT options in Kconfig but the CONFIG options are
    still in the header files. We need to do a proper move to fix this.

    Move these options to Kconfig and tidy up board configuration:

    CONFIG_FIT
    CONFIG_OF_BOARD_SETUP
    CONFIG_OF_SYSTEM_SETUP
    CONFIG_FIT_SIGNATURE
    CONFIG_FIT_BEST_MATCH
    CONFIG_FIT_VERBOSE
    CONFIG_OF_STDOUT_VIA_ALIAS
    CONFIG_RSA

    Unfortunately the first one is a little complicated. We need to make sure
    this option is not enabled in SPL by this change. Also this option is
    enabled automatically in the host builds by defining CONFIG_FIT in the
    image.h file. To solve this, add a new IMAGE_USE_FIT #define which can
    be used in files that are built on the host but must also build for U-Boot
    and SPL.

    Note: Masahiro's moveconfig.py script is amazing.

    Signed-off-by: Simon Glass
    [trini: Add microblaze change, various configs/ re-applies]
    Signed-off-by: Tom Rini

    Simon Glass
     

25 Nov, 2015

2 commits


19 Nov, 2015

1 commit


23 Oct, 2015

1 commit

  • As there is no TCG specification or recommendation for i2c TPM 1.2,
    move tpm_tis_i2c driver to tpm_i2c_infineon. Other tpm vendors like Atmel
    or STMicroelectronics may have a different transport protocol for i2c.

    Signed-off-by: Christophe Ricard
    Reviewed-by: Tom Rini
    Acked-by: Simon Glass

    Christophe Ricard
     

28 Sep, 2015

1 commit


31 Aug, 2015

1 commit