15 Dec, 2019

4 commits


02 Sep, 2019

1 commit

  • Enable OF control for SH4 R2Dplus board. This is necessary, because
    the PCI uclass is designed in a way that makes it depend on DT and
    disallows instanciating devices without DT (e.g. with platdata).

    Signed-off-by: Marek Vasut
    Cc: Nobuhiro Iwamatsu

    Marek Vasut
     

26 Aug, 2019

1 commit

  • U-Boot SPL on the generic RISC-V CPU supports two boot flows, directly
    jumping to the image and via OpenSBI firmware. In the first case, both
    U-Boot SPL and proper must be compiled to run in the same privilege
    mode. Using OpenSBI firmware, U-Boot SPL must be compiled for machine
    mode and U-Boot proper for supervisor mode.

    To be able to use SPL, boards have to provide a supported SPL boot
    device.

    Signed-off-by: Lukas Auer
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng
    Reviewed-by: Anup Patel

    Lukas Auer
     

19 Aug, 2019

1 commit

  • This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF
    to signal when we need it. Enable it from the STPMIC1 config and in
    sandbox.

    The config flag is transitionary, that is it can be removed after all
    poweroff implementations use sysreset, and just have CMD_POWEROFF depend
    on sysreset.

    Signed-off-by: Urja Rannikko
    Reviewed-by: Patrice Chotard
    Reviewed-by: Patrick Delaunay
    Tested-by: Patrick Delaunay

    Urja Rannikko
     

19 Jul, 2019

1 commit


16 Jul, 2019

1 commit

  • A very simple test for DM_MDIO, mimicks a register write/read through the
    sandbox bus to a dummy PHY.

    Signed-off-by: Alex Marginean
    Reviewed-by: Bin Meng
    Tested-by: Bin Meng
    Acked-by: Joe Hershberger

    Alex Marginean
     

11 Jul, 2019

1 commit


13 Jun, 2019

1 commit


24 May, 2019

1 commit


10 May, 2019

1 commit

  • Improvements and new features:
    - split more rockchip pinctrl_core feature into per SoC
    - enable TPL for evb-rk3399 board
    - enable TPL/SPL for evb-px5 board
    - enable TPL and OP-TEE support for evb-rk3229
    - update fix in arm common assembly start code for rockchip header file
    - update default SPL_FIT_GENERATOR for rockchip
    - rk3399 boards update to use '-u-boot.dtsi'
    - add new rk3399 boards: Nanopi M4, Nanopc T4
    - enable sound for chromebook_minnie

    Tom Rini
     

08 May, 2019

3 commits


05 May, 2019

1 commit

  • On AM654 SoC(arm64) which is IO coherent and has L3 Cache, cache
    maintenance operations being done to support non-coherent platforms
    causes issues.

    For example, here is how U-Boot prepares/handles a buffer to receive
    data from a device (DMA Write). This may vary slightly depending on the
    driver framework:

    Start DMA to write to destination buffer
    Wait for DMA to be done (dma_receive()/dma_memcpy())
    Invalidate destination buffer (invalidate_dcache_range())
    Read from destination buffer

    The invalidate after the DMA is needed in order to read latest data from
    memory that’s updated by DMA write. Also, in case random prefetch has
    pulled in buffer data during the “wait for DMA” before the DMA has
    written to it. This works well for non-coherent architectures.

    In case of coherent architecture with L3 cache, DMA write would directly
    update L3 cache contents (assuming cacheline is present in L3) without
    updating the DDR memory. So invalidate after “wait for DMA” in above
    sequence would discard latest data and read will cause stale data to be
    fetched from DDR. Therefore invalidate after “wait for DMA” is not
    always correct on coherent architecture.

    Therefore, provide a Kconfig option to disable cache maintenance ops on
    coherent architectures. This has added benefit of improving the
    performance of DMA transfers as we no longer need to invalidate/flush
    individual cache lines(especially for buffer thats several KBs in size).

    In order to facilitate use of same Kconfig across different
    architecture, I have added the symbol to top level arch/Kconfig file.
    Patch currently disables cache maintenance ops for arm64 only.
    flush_dcache_all() and invalidate_dcache_all() are exclusively used
    during enabling/disabling dcache and hence are not disabled.

    Signed-off-by: Vignesh Raghavendra

    Vignesh Raghavendra
     

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