[PATCH v2 5/5] configs: am335x_evm: Fix BeagleBone Green DTB selection

Lokesh Vutla lokeshvutla at ti.com
Tue Jul 13 08:29:06 CEST 2021



On 13/07/21 1:44 am, Paul Barker wrote:
> The function board_is_bone_lt() returns true for the BeagleBone Green,
> the BeagleBone Enhanced and the BeagleBone Black. Therefore when
> selecting which devicetree to use we must ensure that the more specific
> functions board_is_bbg1() and board_is_bben() are checked first
> otherwise all three devices would end up using the am335x-boneblack
> devicetree. This can be achieved by placing the relevant devicetree
> names (am335x-sancloud-bbe and am335x-bonegreen) before am335x-boneblack
> in CONFIG_OF_LIST.

Such restrictions should be handled inside board_fit_config_name_match() and
hiden from user configuration. Can you update the board_fit_config_name_match()
instead of updating defconfig?

Thanks and regards,
Lokesh


More information about the U-Boot mailing list