From: Tom Rini Date: Fri, 19 Feb 2021 11:54:40 -0500 Subject: [PATCH 02/10] cmd: add support for a new "extension" command In-Reply-To: <20210218132938.2168-3-kory.maincent@bootlin.com> References: <20210218132938.2168-1-kory.maincent@bootlin.com> <20210218132938.2168-3-kory.maincent@bootlin.com> Message-ID: <20210219165440.GJ10169@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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
\" 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: