13 Dec, 2017

1 commit


12 Jul, 2017

1 commit


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

3 commits


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
     
  • Commit 7a777f6d6f35 ("mmc: Add generic Kconfig option") created
    a Kconfig entry for this option without any actual moves, then
    commit 44c798799f66 ("sunxi: Use Kconfig CONFIG_MMC") moved
    instances only for SUNXI.

    We generally do not like such partial moves. This kind of work
    is automated by tools/moveconfig.py, so it is pretty easy to
    complete this move.

    I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
    This shortens the configs and will ease new board porting.

    This commit was created as follows:

    [1] Edit Kconfig (remove the "depends on", add the "default",
    copy the prompt and help message from Linux)

    [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'

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

    Masahiro Yamada
     

28 Oct, 2016

1 commit

  • Introduce CONFIG_PCI_PNP in Kconfig and move over boards' defconfig
    to use that.

    Signed-off-by: Bin Meng
    Reviewed-by: Tom Rini
    [trini: Re-generate configs and include/configs/ changes]
    Signed-off-by: Tom Rini

    Bin Meng
     

12 Oct, 2016

1 commit


17 May, 2016

1 commit


26 Apr, 2016

1 commit


22 Dec, 2015

1 commit

  • Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB
    from legacy board header files.

    This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE
    are selected.

    Signed-off-by: Thomas Chou
    Reported-by: Pavel Machek
    Acked-by: Chin Liang See
    Acked-by: Pavel Machek
    Tested-by: Pavel Machek
    Reviewed-by: Bin Meng

    Thomas Chou
     

13 Nov, 2015

1 commit


17 Sep, 2015

1 commit


09 Sep, 2015

1 commit


05 Aug, 2015

1 commit


04 Jun, 2015

2 commits

  • Intel Quark SoC has the same interrupt routing mechanism as the
    Queensbay platform, only the difference is that PCI devices'
    INTA/B/C/D are harcoded and cannot be changed freely.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     
  • Some x86 boards set CONFIG_NR_DRAM_BANKS to 1, which causes incorrect
    DRAM size printed when booting from coreboot, like this:

    CPU: x86, vendor Intel, device 663h
    DRAM: 636 KiB
    Using default environment

    Change it to 8 which should be enough for both coreboot and bare
    cases, and move it to x86-common.h.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     

30 Apr, 2015

1 commit

  • Since all x86 boards use spi flash as its bootloader storage media,
    it makes sense to make CONFIG_ENV_IS_IN_SPI_FLASH a common option.
    So far only minnowmax board does not support it so undefine it in
    its board configuration file.

    Signed-off-by: Bin Meng
    Acked-by: Simon Glass

    Bin Meng
     

25 Mar, 2015

2 commits


07 Feb, 2015

2 commits