29 Sep, 2020

2 commits


27 Aug, 2020

1 commit

  • The eSDHC adapter card identification and multiplexing configuration
    through FPGA had been implemented in both common mmc driver and
    fsl_esdhc driver. However it is proper to move these code to board
    files and do it during board initialization. The FPGA registers are
    also board specific.

    This patch is to move eSDHC adapter card identification and
    multiplexing configuration from mmc driver to specific board files.
    And the option CONFIG_FSL_ESDHC_ADAPTER_IDENT is no longer needed.

    Signed-off-by: Yangbo Lu
    [Rebased, Removed T1040QDS change as board does not exist]
    Signed-off-by: Priyanka Jain

    Yangbo Lu
     

10 Apr, 2020

1 commit

  • Code sections should be syntax highlighted as bash.
    Comment lines in code should start with a hash sign ('#') but code lines
    should not.
    Most commands can be executed as normal users. Prepend those commands
    requiring elevated authorization with 'sudo'.
    dd does not have a parameter cout.
    sfdisk does not have a -C parameter on Debian Buster.
    Provide the necessary input to sfdisk.
    Creating a partition of length zero makes no sense.

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

04 Apr, 2020

1 commit


31 Mar, 2020

1 commit

  • Some SoCs in the mpc83xx family, e.g. mpc8309, have a dedicated spi
    chip select, SPISEL_BOOT, that is used by the boot code to boot from
    flash.

    This chip select will typically be used to select a SPI boot
    flash. The SPISEL_BOOT signal is controlled by a single bit in the
    SPI_CS register.

    Implement a gpio driver for the spi chip select register. This allows a
    spi driver capable of using gpios as chip select, to bind a chip select
    to SPISEL_BOOT.

    It may be a little odd to do this as a GPIO driver, since the signal
    is neither GP or I, but it is quite convenient to present it to the
    spi driver that way. The alternative it to teach mpc8xxx_spi to handle
    the SPISEL_BOOT signal itself (that is how it's done in the linux
    kernel, see commit 69b921acae8a)

    Signed-off-by: Klaus H. Sorensen
    Signed-off-by: Rasmus Villemoes

    Klaus H. Sorensen
     

10 Mar, 2020

3 commits

  • Tom Rini
     
  • U-Boot is having DT which doesn't cover all options currently supported by
    driver. DT binding is aligned with Linux kernel version available here.
    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/ti,dp83867.txt
    Based on my talk with Grygorii Strashko better will be to remove it.

    Also Linux kernel bindings are being converted to yaml that's another
    reason to do it only at one place.

    Signed-off-by: Michal Simek
    Reviewed-by: Grygorii Strashko

    Michal Simek
     
  • doc/README.drivers.eth seems like a good source for understanding
    U-Boot's network subsystem, but is only talking about legacy network
    drivers. This is particularly sad as proper documentation would help in
    porting drivers over to the driver model.

    Rewrite the document to describe network drivers in the new driver model
    world. Most driver callbacks/methods are almost identical in their
    semantic, but recv() differs in some important details.

    Also keep some parts of the original text at the end, to help
    understanding old drivers. Add some hints on how to port drivers over.

    This also uses the opportunity to reformat the document in reST, on the
    way moving it into doc/driver-model and adding it into the structure
    there.

    Signed-off-by: Andre Przywara
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Andre Przywara
     

05 Mar, 2020

6 commits


02 Mar, 2020

2 commits


29 Feb, 2020

1 commit


25 Feb, 2020

2 commits

  • Several patches delivered incorrect restructured text as documentation. We
    should be able to discover this in Travis CI, Gitlab CI, or Azure CI.

    So let us turn all build warnings into errors.

    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Bin Meng

    Heinrich Schuchardt
     
  • Update doc/sphinx/kerneldoc.py from Linux next-20200219 to avoid warnings
    like:

    doc/sphinx/kerneldoc.py:125: RemovedInSphinx20Warning:
    AutodocReporter is now deprecated. Use
    sphinx.util.docutils.switch_source_input() instead.
    self.state.memo.reporter =
    AutodocReporter(result, self.state.memo.reporter)

    Signed-off-by: Heinrich Schuchardt

    Heinrich Schuchardt
     

14 Feb, 2020

3 commits


13 Feb, 2020

1 commit


11 Feb, 2020

3 commits


10 Feb, 2020

2 commits

  • OpenSBI build steps are marked as normal text in
    AX25-AE350 documentation.

    Move them into code-block so-that it can show it
    as build steps.

    Cc: Heinrich Schuchardt
    Signed-off-by: Jagan Teki
    Reviewed-by: Bin Meng
    Reviewed-by: Rick Chen
    Tested-by: Bin Meng

    Jagan Teki
     
  • Since commit 04883bf7acca ("doc: update AX25-AE350 RISC-V documentation")
    `make htmldocs` produces a log of warnings like

    doc/board/AndesTech/ax25-ae350.rst:373:
    WARNING: Block quote ends without a blank line; unexpected unindent.
    doc/board/AndesTech/ax25-ae350.rst:0:
    WARNING: Undefined substitution referenced: "_ __ ___ _ __ | (___ | |_) |".

    Reformat the problematic passages.

    Fixes: 04883bf7acca ("doc: update AX25-AE350 RISC-V documentation")
    Signed-off-by: Heinrich Schuchardt
    Reviewed-by: Jagan Teki
    Reviewed-by: Rick Chen
    Tested-by: Bin Meng

    Heinrich Schuchardt
     

08 Feb, 2020

2 commits

  • Assign Alex Nemirovsky as custodian for all
    Cortina Access (CA) for ARM and MIPS based SoCs.

    Currently Cortina Access CAxxxx family of SoCs support both
    ARM and MIPS ISA. Drivers have cross platform support for
    both architectures.

    Reviewed-by: Tom Rini
    Signed-off-by: Alex Nemirovsky

    Alex Nemirovsky
     
  • Use the correct return value in function do_gpio() and update
    commands documentation with the return values from command_ret_t enum.

    CMD_RET_SUCCESS is returned on command success and CMD_RET_FAILURE is
    returned on command failure.

    The command was returning the pin value, which caused confusion when
    debugging (#define DEBUG).

    Signed-off-by: Luka Kovacic
    Tested-by: Robert Marko

    Luka Kovacic
     

07 Feb, 2020

3 commits

  • ACPI GPEs are used to signal interrupts from peripherals that are accessed
    via ACPI. In U-Boot these are modelled as interrupts using a separate
    interrupt controller. Configuration is via the device tree.

    Add a simple driver for this.

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

    Simon Glass
     
  • At present driver model supports the IRQ uclass but there is no way to
    request a particular interrupt for a driver.

    Add a mechanism, similar to clock and reset, to read the interrupts
    required by a device from the device tree and to request those interrupts.

    U-Boot itself does not have interrupt-driven handlers, so just provide a
    means to read and clear an interrupt. This can be useful to handle
    peripherals which must use an interrupt to determine when data is
    available, for example.

    Bring over the basic binding file as well, from Linux v5.4. Note that the
    older binding is not supported in U-Boot; the newer 'special form' must be
    used.

    Add a simple test of the new functionality.

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

    Simon Glass
     
  • These are actually working correctly, so update the status.

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

    Simon Glass
     

06 Feb, 2020

4 commits

  • Add a new device-tree property to control the colour depth. At present we
    support 16bpp and 32bpp.

    While we are here, update the code to use livetree.

    Signed-off-by: Simon Glass
    Reviewed-by: Anatolij Gustschin

    Simon Glass
     
  • Sandbox currently uses SDL1.2. SDL2 has been around for quite a while and
    is widely supported. It has a number of useful features. It seems
    appropriate to move sandbox over.

    Update the code to use SDL2 instead of SDL1.2.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Following the recommendation of adding '#define DEBUG' at the top
    of drivers/core/lists.c does not cause the debug messages to be
    shown. Change it to '#define LOG_DEBUG' instead, which actually
    makes it work as per doc/README.log.

    While at it, provide the full path to lists.c to in order to make
    the instructions clearer.

    Signed-off-by: Fabio Estevam
    Reviewed-by: Simon Glass

    Fabio Estevam
     
  • It is convenient for bloblist to zero out the contents of a records when
    it is added. This saves the callers having to do it.

    Update the API accordingly.

    Signed-off-by: Simon Glass

    Simon Glass
     

05 Feb, 2020

1 commit

  • - Various minor fixes for x86
    - Switch to ACPI mode on Intel edison
    - Support run-time configuration for NS16550 driver
    - Update coreboot and slimbootloader serial drivers to use NS16550
    run-time configuration
    - ICH SPI driver fixes to hardware sequencing erase case
    - Move ITSS from Apollo Lake to a more generic location
    - Intel GPIO driver bug fixes
    - Move to vs2017-win2016 platform build host for Azure pipelines

    Tom Rini
     

04 Feb, 2020

1 commit

  • Convert Android documentation from regular txt format to Sphinx (RST).
    Also add Android index.rst file and reference it in root index.rst, so
    that Android documentation is visible.

    Test:

    $ make htmldocs
    $ xdg-open doc/output/index.html

    Signed-off-by: Sam Protsenko
    Signed-off-by: Lokesh Vutla

    Sam Protsenko