[PATCH 1/2] include: env: ti: mmc.h: Find DTB files in dtb directory for AM57xx

Neha Malcom Francis n-francis at ti.com
Fri Apr 25 08:49:26 CEST 2025


Hi Anurag

On 25/04/25 11:04, Anurag Dutta wrote:
> Add dtb/ to the DTB search path.
> 
> Signed-off-by: Anurag Dutta <a-dutta at ti.com>
> ---
>  include/env/ti/mmc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/env/ti/mmc.h b/include/env/ti/mmc.h
> index dbb0e3559ea..968d6ec03dc 100644
> --- a/include/env/ti/mmc.h
> +++ b/include/env/ti/mmc.h
> @@ -24,7 +24,7 @@
>  		"env import -t ${loadaddr} ${filesize}\0" \
>  	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}\0" \
>  	"loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
> -	"loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \
> +	"loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/dtb/${fdtfile}\0" \
>  	"envboot=mmc dev ${mmcdev}; " \
>  		"if mmc rescan; then " \
>  			"echo SD/MMC found on device ${mmcdev};" \

Are there any other boards that use .h instead of .env other than AM57x?
Would they break with this change?

-- 
Thanking You
Neha Malcom Francis


More information about the U-Boot mailing list