27 Feb, 2019

1 commit


20 Feb, 2019

1 commit


14 Dec, 2018

1 commit

  • The U-Boot sound system provides basic support for beeping. At present it
    does not use driver model, but it needs to be converted. Add an option to
    enable driver model for sound. For now it is not connected to anything.
    Future work will add drivers which use this option. It will then be
    removed once everything is converted.

    Signed-off-by: Simon Glass

    Simon Glass
     

26 Nov, 2018

1 commit


15 Nov, 2018

2 commits

  • Now that we have a sandbox virtio transport driver, add some test
    cases to test virtio uclass driver.

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

    Bin Meng
     
  • At present the generic io{read,write}{8,16,32} routines only support
    MMIO access. With architecture like x86 that has a separate IO space,
    these routines cannot be used to access I/O ports.

    Implement x86-specific version to support both PIO and MMIO access,
    so that drivers for multiple architectures can use these accessors
    without the need to know whether it's MMIO or PIO.

    These are ported from Linux kernel lib/iomap.c, with slight changes.

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

    Bin Meng
     

08 Oct, 2018

1 commit


07 Oct, 2018

1 commit


03 Oct, 2018

3 commits


30 Sep, 2018

1 commit

  • Add a test which verifies that all subnodes under "/firmware"
    nodes are scanned.

    Signed-off-by: Rajan Vaja
    Reviewed-by: Simon Glass
    Added 'imply FIRMWARE' to sandbox Kconfig to fix test failures, fixed
    ordering of lines in arch/sandbox/dts/test.dts and test/dm/Makefile,
    updated #if condition in drivers/firmware/firmware-uclass.c:
    Signed-off-by: Simon Glass

    Rajan Vaja
     

18 Sep, 2018

1 commit


30 Jul, 2018

2 commits


20 Jul, 2018

1 commit


28 Apr, 2018

1 commit

  • This converts the following to Kconfig:
    CONFIG_SPI

    This partly involves updating code that assumes that CONFIG_SPI implies
    things that are specific to the MPC8xx SPI driver. For now, just update
    the CONFIG tests. This also involves reworking the default for
    CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
    reasonable default, as it does not cause any compile failures.

    Signed-off-by: Adam Ford
    Signed-off-by: Tom Rini

    Adam Ford
     

09 Feb, 2018

1 commit

  • config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
    based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
    Kconfig allows us to drastically shrink the logic in
    config_fallbacks.h

    Signed-off-by: Adam Ford
    [trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
    Signed-off-by: Tom Rini

    Adam Ford
     

31 Jan, 2018

1 commit


12 Jan, 2018

1 commit


08 Sep, 2017

2 commits


24 Aug, 2017

1 commit


12 Aug, 2017

2 commits


01 Aug, 2017

8 commits

  • 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
     
  • Convert the pci_mmc driver over to driver model and migrate all x86 boards
    that use it.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng
    [bmeng: remove DM_MMC from edison_defconfig]
    Signed-off-by: Bin Meng

    Simon Glass
     
  • Like other peripheral drivers, move USB related drivers to platform
    Kconfig as well.

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

    Bin Meng
     
  • Now that all x86 boards have been converted to use DM, we can imply
    these uclass drivers (DM_ETH, DM_RTC, DM_USB, DM_VIDEO) from the
    top level.

    Previously DM_GPIO, DM_KEYBOARD, DM_SERIAL, DM_SPI, DM_SPI_FLASH
    are selected. Change to use 'imply' to allow them to be removed.

    Note with this change, chromebook_link64 build fails:

    common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
    lib/built-in.o: In function `hsearch_r':
    lib/hashtable.c:380: undefined reference to 'env_callback_init'
    lib/hashtable.c:382: undefined reference to 'env_flags_init'
    make[1]: *** [spl/u-boot-spl] Error 1

    CONFIG_SPL_ENV_SUPPORT is required for chromebook_link64 to build
    again. This is just a workaround as it is not needed at all. See
    commit bda40d5 "x86: qemu: Add a config for 64-bit U-Boot" for
    the same issue seen on QEMU 64-bit target.

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

    Bin Meng
     
  • This is a must have for all x86 boards.

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

    Bin Meng
     
  • PCI is the de facto interconnect bus in an x86 system.

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

    Bin Meng
     
  • x86 is using the built-in libgcc implementation and this cannot be
    turned off.

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

    Bin Meng
     
  • Without a timer, U-Boot just doesn't boot. This is not something
    we can turn off.

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

    Bin Meng
     

30 Jul, 2017

1 commit

  • Kbuild complains if USB is not selected before any of host driver.

    warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)
    warning: (X86) selects USB_EHCI_HCD which has unmet direct dependencies (USB)

    Select it for X86.

    Fixes: 64d6ac5bc4a9 ("Kconfig: USB: Migrate CONFIG_USB_EHCI_HCD users to Kconfig")
    Signed-off-by: Andy Shevchenko
    [bmeng: Update all x86 boards' defconfig files to remove CONFIG_USB]
    Signed-off-by: Bin Meng

    Andy Shevchenko
     

25 Jul, 2017

1 commit


12 Jul, 2017

2 commits


07 Jul, 2017

1 commit

  • AVR32 is gone. It's already more than two years for no support in Buildroot,
    even longer there is no support in GCC (last version is heavily patched 4.2.4).

    Linux kernel v4.12 got rid of it (and v4.11 didn't build successfully).

    There is no good point to keep this support in U-Boot either.

    Reviewed-by: Simon Glass
    Reviewed-by: Tom Rini
    Reviewed-by: Heiko Schocher
    Signed-off-by: Andy Shevchenko

    Andy Shevchenko
     

27 Jun, 2017

1 commit

  • This reverts commit ddb3ac3c716f56cead695444e65a7ba7b0946555.

    With MMC converted to driver model, SCSI driver is broken due to
    zero address access at (ops->read) in block_dread() function.

    The fix (SCSI driver converted to DM) is ready in u-boot-dm branch,
    but it is too late for this relese to get that in.

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

    Bin Meng
     

04 Jun, 2017

1 commit

  • Now that these symbols are in Kconfig, migrate all users. Use imply on
    a number of platforms that default to having this enabled. As part of
    this we must migrate some straglers for CMD_FAT and DOS_PARTITION.

    Signed-off-by: Tom Rini

    Tom Rini