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
     

30 Jul, 2017

1 commit


29 Jul, 2017

1 commit

  • Occasionally it was observed that on Intel MinnowMax board, with a
    USB 2.0 device connected to the bottom port, when doing 'usb start'
    on the xHCI controller:

    scanning bus 0 for devices... cannot reset port 3!?

    But neither of the two USB ports is routed to xHCI root port 3.
    Adding some debug information shows that xHCI port 3 PORTSC register
    mysteriously reports both CCS = 1 and CSC = 1.

    This is not seen every time. After increasing the timeout to wait
    for power to become stable, the issue is gone. So this indicates
    current default USB power-on delay (20ms) might be at a critical
    region where power is stable/unstable. U-Boot provides a mechanism
    to have a environment variable to override the default one. Add
    one for MinnowMax.

    Signed-off-by: Bin Meng
    Reviewed-by: Simon Glass
    Reviewed-by: Stefan Roese
    Tested-by: Stefan Roese

    Bin Meng
     

22 Jun, 2017

2 commits


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


23 May, 2016

1 commit

  • Currently U-Boot environment address is at offset 0x7fe00 of a 8MB
    SPI flash. When creating a partial u-boot.rom image without flash
    descriptor and ME firmware, U-Boot actually occupies the last 1MB
    of the flash, and reprograming U-Boot causes previous environment
    settings get lost which is not convenient during testing.

    Adjust the environment address to 0x6ef000 instead (before the MRC
    cache data region in the flash).

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

    Bin Meng
     

26 Apr, 2016

2 commits


23 Mar, 2016

1 commit


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

1 commit


20 Nov, 2015

1 commit

  • Some boards have an i8042 device. Enable the driver for all x86 boards, and
    add a device tree node for those which may have this keyboard.

    Also adjust the configuration so that i8042 is always separate from the VGA,
    and rename the stdin driver accordingly. With this commit the keyboard will
    not work, but it is fixed in the next commit.

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

    Simon Glass
     

13 Nov, 2015

1 commit


26 Aug, 2015

1 commit


14 Aug, 2015

2 commits


05 Aug, 2015

3 commits


22 Jul, 2015

1 commit


15 Jul, 2015

3 commits


04 Jun, 2015

3 commits


30 Apr, 2015

2 commits


07 Feb, 2015

1 commit

  • This is a relatively low-cost x86 board in a small form factor. The main
    peripherals are uSD, USB, HDMI, Ethernet and SATA. It uses an Atom 3800
    series CPU. So far only the dual core 2GB variant is supported.

    This uses the existing FSP support. Binary blobs are required to make this
    board work. The microcode update is included as a patch (all 3000 lines of
    it).

    Change-Id: I0088c47fe87cf08ae635b343d32c332269062156
    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass