[PATCH V4 06/12] board: ti: j721s2: Add support for detecting multiple device trees

Tom Rini trini at konsulko.com
Mon Jan 9 18:29:29 CET 2023


On Wed, Jan 04, 2023 at 03:13:44PM +0530, Sinthu Raja wrote:

[snip]
> +#ifdef CONFIG_SPL_LOAD_FIT
> +int board_fit_config_name_match(const char *name)
> +{
> +	bool eeprom_read = board_ti_was_eeprom_read();
> +
> +	if (!eeprom_read || board_is_j721s2_som()) {
> +		if (!strcmp(name, "k3-j721s2-common-proc-board"))
> +			return 0;

What I'd like to see is a comment above this part noting that this is
the safe default for the SoC.

-- 
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/20230109/43649814/attachment.sig>


More information about the U-Boot mailing list