[PATCH 02/10] cmd: add support for a new "extension" command

Tom Rini trini at konsulko.com
Fri Feb 19 17:54:40 CET 2021


On Thu, Feb 18, 2021 at 02:29:30PM +0100, Kory Maincent wrote:

> This patch adds a new "extension" command, which aims at detecting
> extension boards connected to the hardware platform, and apply the
> Device Tree overlays that describe the hardware present on those
> extension boards.
> 
> In order to enable this mechanism, board-specific code must implement
> the extension_board_scan() function that fills in a linked list of
> "struct extension", each describing one extension board. In addition,
> the board-specific code must select the SUPPORT_EXTENSION_SCAN Kconfig
> boolean.
[snip]
>  doc/README.extension      |  80 ++++++++++++++++++

This should be rST and under docs/ somewhere.

[snip]
> +		puts(
> +			"No FDT memory address configured. Please configure\n"
> +			"the FDT address via \"fdt addr <address>\" command.\n");

This should be a printf() and line-formatted correctly so checkpatch.pl
doesn't complain.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210219/bc01f77d/attachment.sig>


More information about the U-Boot mailing list