01 Aug, 2017

1 commit

  • After MMC is converted to DM, convert to use DM SCSI as well for all
    x86 boards and imply BLK for both MMC and SCSI drivers.

    CONFIG_SCSI_DEV_LIST is no longer used. Clean them up.

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

    Bin Meng
     

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


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


26 Apr, 2016

2 commits


05 Feb, 2016

1 commit


25 Nov, 2015

1 commit


20 Nov, 2015

1 commit


13 Nov, 2015

2 commits


21 Oct, 2015

1 commit

  • Add a Kconfig option to disable the Integrated Graphics Device (IGD)
    so that it does not show in the PCI configuration space as a VGA
    disaplay controller. This gives a chance for U-Boot to run PCI/PCIe
    based graphics card's VGA BIOS and use that for the graphics console.

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

    Bin Meng
     

09 Sep, 2015

2 commits


26 Aug, 2015

2 commits

  • So far we only enabled one legacy serial port on the SMSC LPC47m
    superio chipset on Intel Crown Bay board. As the board also has
    dual PS/2 ports routed out, enable the keyboard controller which
    is i8042 compatible so that we can use PS/2 keyboard and mouse.

    In order to make PS/2 keyboard work with the VGA console, remove
    CONFIG_VGA_AS_SINGLE_DEVICE. To boot Linux kernel with PIC mode
    using PIRQ routing table, adjust the mask in the device tree to
    reserve irq12 which is used by PS/2 mouse.

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

    Bin Meng
     
  • It looks that x86 chipset always contains a host bridge at pci
    b.d.f 0.0.0, so enable this for all boards.

    Signed-off-by: Bin Meng

    Bin Meng
     

22 Aug, 2015

1 commit


05 Aug, 2015

1 commit


15 Jul, 2015

1 commit

  • Enable graphics support on Intel Crown Bay board With the help of
    vgabios for Intel TunnelCreek IGD. Tested with an external LVDS
    panel connected to X4 connector and SDVO adapter connected to X9
    connector on the board.

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

    Bin Meng
     

04 Jun, 2015

1 commit

  • 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

2 commits


25 Mar, 2015

2 commits


13 Jan, 2015

1 commit


19 Dec, 2014

5 commits