29 Sep, 2020
2 commits
-
Add compatible string "gianfar" support and update the
device-tree-bindings doc.Signed-off-by: Hou Zhiqiang
Reviewed-by: Vladimir Oltean -
Change the compatible string to "fsl,etsec2" for the Ethernet ports,
which is used in the current driver's match table.Fixes: 69a00875e3db ("doc: dt-bindings: Describe Freescale TSEC ethernet controller")
Signed-off-by: Hou Zhiqiang
Acked-by: Vladimir Oltean
Reviewed-by: Priyanka Jain
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
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
04 Apr, 2020
1 commit
-
1. Update build steps where mainline Trusted Firmware A is used.
2. Fix BL31_BASE to the proper one according to the SoC reference
manual.Signed-off-by: Igor Opaniuk
Reviewed-by: Bin Meng
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
10 Mar, 2020
3 commits
-
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 -
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
05 Mar, 2020
6 commits
-
The value for "Top of CAR region" should be fefc0000, not
fefc000. This matches the Kconfig default values, as
SYS_CAR_ADDR and SYS_CAR_SIZE are 0xfef00000 and 0xc0000
respectively.Signed-off-by: Wolfgang Wallner
Reviewed-by: Bin Meng -
Drop the Apollo Lake prefix 'apl' from the functions, types and
variables in the P2SB driver.The P2SB is not Apollo Lake specific, and as such it was moved in
commit 2999846c1127 ("x86: Move P2SB from Apollo Lake to a more generic
location") from the Apollo Lake folder to the intel_common folder.Signed-off-by: Wolfgang Wallner
Reviewed-by: Simon Glass
Reviewed-by: Bin Meng -
Convert README to reStructuredText format.
Signed-off-by: Igor Opaniuk
Reviewed-by: Oleksandr Suvorov
Reviewed-by: Bin Meng
Tested-by: Bin Meng -
Convert README to reStructuredText format.
Signed-off-by: Igor Opaniuk
Reviewed-by: Oleksandr Suvorov
Reviewed-by: Bin Meng
Tested-by: Bin Meng -
Convert README to reStructuredText format.
Signed-off-by: Igor Opaniuk
Reviewed-by: Oleksandr Suvorov
Reviewed-by: Bin Meng
Tested-by: Bin Meng
[bmeng: spell out U-Boot correctly]
Signed-off-by: Bin Meng -
- add initial index for toradex boards reST documentation
- add initial colibri_imx7.rst doc file which provides all needed
information for obtaining a workable image ready for flashing
for both eMMC/NAND versions of Colibri iMX7.Signed-off-by: Igor Opaniuk
Reviewed-by: Bin Meng
Reviewed-by: Oleksandr Suvorov
Tested-by: Bin Meng
[bmeng: make title underline the same length as the title itself]
Signed-off-by: Bin Meng
02 Mar, 2020
2 commits
-
- convert stm32mp1 board documentation to rst format
-
Change plain test README to rst format and move this file
in documentation directory.Signed-off-by: Patrick Delaunay
Tested-by: Heinrich Schuchardt
Reviewed-by: Patrice Chotard
29 Feb, 2020
1 commit
-
The load file 2 protocol can be used by the Linux kernel to load the initial
RAM disk. U-Boot can be configured to provide an implementation.Add a description to the UEFI overview and document the related functions
in the API section.Signed-off-by: Heinrich Schuchardt
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 -
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
14 Feb, 2020
3 commits
-
- add DH Electronics DHCOM SoM and PDK2 board
- DT alignment with kernel v5.5-rc7 for stm32mp1 boards
- fix STM32 image format for big endian hosts in mkimage
- solve warnings in device tree and code for stm32mp1 boards
- remove fdt_high and initrd_high for stm32 and stih boards
- add support of STM32MP15x Rev.Z
- update stm32mp1 readme -
Fix the following DT dtc warnings for stm32mp1 boards:
Warning (unit_address_vs_reg): /soc/rcc@50000000/st,pll@0:
node has a unit name, but no reg property
Warning (unit_address_vs_reg): /soc/rcc@50000000/st,pll@1:
node has a unit name, but no reg property
Warning (unit_address_vs_reg): /soc/rcc@50000000/st,pll@2:
node has a unit name, but no reg property
Warning (unit_address_vs_reg): /soc/rcc@50000000/st,pll@3:
node has a unit name, but no reg propertySigned-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard -
Device tree and binding alignment with kernel v5.4
Signed-off-by: Patrick Delaunay
Reviewed-by: Patrice Chotard
13 Feb, 2020
1 commit
-
Fix a build error
checking consistency...
/doc/board/rockchip/index.rst:
WARNING: document isn't included in any toctreeFixes: 338b86c9b305 ("doc: boards: Add rockchip documentation")
Signed-off-by: Heinrich Schuchardt
11 Feb, 2020
3 commits
-
sandbox conversion to SDL2
TPM TEE driver
Various minor sandbox video enhancements
New driver model core utility functions -
The patch fixes some errors.
Signed-off-by: Dario Binacchi
Reviewed-by: Bin Meng -
- Move P2SB from Apollo Lake to a more generic location
- Add a function to find a device by drvdata in DM core
- Enhancement of DM IRQ uclass driver
- Add a clock driver for Intel devices
- Add support for ACPI general-purpose events
- Add a TPM driver for H1/Cr50
- Enable TPM on Google Chromebook Coral
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 -
Since commit 04883bf7acca ("doc: update AX25-AE350 RISC-V documentation")
`make htmldocs` produces a log of warnings likedoc/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
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 -
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
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 -
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 -
These are actually working correctly, so update the status.
Signed-off-by: Simon Glass
Reviewed-by: Bin Meng
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 -
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
-
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 -
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
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
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.htmlSigned-off-by: Sam Protsenko
Signed-off-by: Lokesh Vutla