24 Feb, 2018

2 commits

  • With the contents of config_distro_defaults.h migrated to Kconfig,
    we can remove this header file completely

    Signed-off-by: Adam Ford

    Adam Ford
     
  • This converts the following to Kconfig:
    CONFIG_BOOTP_BOOTPATH
    CONFIG_BOOTP_DNS
    CONFIG_BOOTP_GATEWAY
    CONFIG_BOOTP_HOSTNAME
    CONFIG_BOOTP_PXE
    CONFIG_BOOTP_SUBNETMASK
    CONFIG_CMDLINE_EDITING
    CONFIG_AUTO_COMPLETE
    CONFIG_SYS_LONGHELP
    CONFIG_SUPPORT_RAW_INITRD
    CONFIG_ENV_VARS_UBOOT_CONFIG

    Signed-off-by: Adam Ford
    [trini: Re-run the migration]
    Signed-off-by: Tom Rini

    Adam Ford
     

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
     

02 Feb, 2018

1 commit


28 Jan, 2018

1 commit


25 Jan, 2018

1 commit

  • Currently, socfpga_common.h does not allow configurations without
    network support. This is because CONFIG_CMD_PXE is defined in this
    file and distro mode has DHCP hard-coded as available.

    Fix this by moving CONFIG_CMD_PXE and CONFIG_MENU to the defconfigs
    and by making DHCP optional in BOOT_TARGET_DEVICES(func).

    Signed-off-by: Simon Goldschmidt

    Simon Goldschmidt
     

24 Jan, 2018

2 commits

  • This reverts commit 57897c13de03ac0136d64641a3eab526c6810387.

    Using bounce_buf.c to handle non-DMA alignment problems is bad as
    bounce_buf.c does cache manipulations which is not required. Therefore
    revert this patch in favour of local bounce buffer solution in the next
    patch.

    Signed-off-by: Vignesh R
    Acked-by: Marek Vasut
    Acked-by: Simon Goldschmidt
    Reviewed-by: Jason Rush
    Acked-by: Jason Rush
    Reviewed-by: Jagan Teki

    Vignesh R
     
  • Cleanup unused #define values that are read from the DT.

    Tested on TI K2G platform:
    Tested-by: Vignesh R

    Tested on a socfpga-cyclonev board:
    Tested-by: Simon Goldschmidt

    Signed-off-by: Jason Rush
    Reviewed-by: Jagan Teki
    Acked-by: Simon Goldschmidt
    Acked-by: Marek Vasut

    Jason Rush
     

09 Dec, 2017

2 commits


06 Nov, 2017

1 commit


27 Oct, 2017

1 commit


23 Sep, 2017

1 commit


04 Sep, 2017

1 commit


02 Sep, 2017

1 commit


09 Aug, 2017

1 commit


26 Jul, 2017

2 commits


25 Jul, 2017

1 commit


11 Jul, 2017

1 commit


07 Jul, 2017

1 commit

  • There is no need to duplicate same option with different name.

    Kill HW_WATCHDOG_TIMEOUT_MS in favor of WATCHDOG_TIMEOUT_MSECS.

    Signed-off-by: Andy Shevchenko
    Reviewed-by: Simon Glass
    Reviewed-by: Bin Meng
    Reviewed-by: Heiko Schocher

    Andy Shevchenko
     

01 Jun, 2017

1 commit

  • Currently these (board agnostic) commands cannot be selected using
    menuconfig and friends. Fix this the obvious way. As part of this,
    don't muddle the meaning of CONFIG_HASH_VERIFY to mean both 'hash -v'
    and "we have a hashing command" as this makes the Kconfig logic odd.

    Signed-off-by: Daniel Thompson
    [trini: Re-apply, add imply for a few cases, run moveconfig.py, also
    migrate CRC32_VERIFY]
    Signed-off-by: Tom Rini

    Daniel Thompson
     

22 May, 2017

1 commit


18 May, 2017

1 commit


14 Apr, 2017

3 commits


20 Mar, 2017

1 commit


19 Mar, 2017

1 commit

  • Today, we have cases where we wish to build all of U-Boot in Thumb2 mode for
    various reasons. We also have cases where we only build SPL in Thumb2 mode due
    to size constraints and wish to build the rest of the system in ARM mode. So
    in this migration we introduce a new symbol as well, SPL_SYS_THUMB_BUILD to
    control if we build everything or just SPL (or in theory, just U-Boot) in
    Thumb2 mode.

    Signed-off-by: Tom Rini
    Acked-by: Siarhei Siamashka

    Tom Rini
     

18 Feb, 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
     

31 Jan, 2017

1 commit

  • Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.

    Let's create an entry for "config GENERIC_MMC" with "default MMC",
    then convert all macro defines in headers to Kconfig. Almost all
    of the defines will go away.

    I see only two exceptions:
    configs/blanche_defconfig
    configs/sandbox_noblk_defconfig

    They define CONFIG_GENERIC_MMC, but not CONFIG_MMC. Something
    might be wrong with these two boards, so should be checked later.

    Anyway, this is the output of the moveconfig tool.

    This commit was created as follows:

    [1] create a config entry in drivers/mmc/Kconfig

    [2] tools/moveconfig.py -r HEAD GENERIC_MMC

    [3] manual clean-up of garbage comments in doc/README.* and
    include/configs/*.h

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

    Masahiro Yamada
     

26 Jan, 2017

2 commits


15 Jan, 2017

1 commit


11 Jan, 2017

3 commits

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

    CONFIG_EXYNOS_DWMMC (renamed to CONFIG_MMC_DW_EXYNOS)
    CONFIG_HIKEY_DWMMC (renamed to CONFIG_MMC_DW_K3)
    CONFIG_SOCFPGA_DWMMC (renamed to CONFIG_MMC_DW_SOCFPGA)

    The "HIKEY" is a board name, so it is not suitable for the MMC
    controller name. I am following the name used in Linux.

    This commit was generated as follows:

    [1] Rename the config options with the following command:
    find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
    -type f -print | xargs sed -i -e '
    s/CONFIG_EXYNOS_DWMMC/CONFIG_MMC_DW_EXYNOS/g
    s/CONFIG_HIKEY_DWMMC/CONFIG_MMC_DW_K3/g
    s/CONFIG_SOCFPGA_DWMMC/CONFIG_MMC_DW_SOCFPGA/g
    '

    [2] Commit the changes

    [3] Create the entries in drivers/mmc/Kconfig
    (with default y for EXYNOS and SOCFPGA)

    [4] Run the following:
    tools/moveconfig.py -y -r HEAD MMC_DW_EXYNOS MMC_DW_K3 MMC_DW_SOCFPGA

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

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

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

    Masahiro Yamada
     
  • 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
     
  • CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH is defined in the socfpga_common.h,
    but not referenced at all. Remove.

    Also, clean-up the README.socfpga. CONFIG_MMC should not be defined
    in the header since it was moved to Kconfig by commit c27269953b94
    ("mmc: complete unfinished move of CONFIG_MMC"). I see no grep hit
    for the others.

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

    Masahiro Yamada
     

04 Jan, 2017

1 commit

  • According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC
    TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit
    data interface writes until the last word of an indirect transfer
    otherwise indirect writes is known to fails sometimes. So, make sure
    that QSPI indirect writes are 32 bit sized except for the last write. If
    the txbuf is unaligned then use bounce buffer to avoid data aborts.

    So, now that the driver uses bounce_buffer, enable CONFIG_BOUNCE_BUFFER
    for all boards that use Cadence QSPI driver.

    [1]www.ti.com/lit/ug/spruhy8d/spruhy8d.pdf

    Signed-off-by: Vignesh R
    Reviewed-by: Marek Vasut
    Reviewed-by: Jagan Teki

    Vignesh R