diff mbox

[U-Boot,1/3] udoo_neo: Add fdt_addr_r environment variable

Message ID 1484073160-1589-1-git-send-email-breno.lima@nxp.com
State Accepted
Commit 8df93b1a17ab3b5fc725dca0a233a1d56705dcf0
Delegated to: Stefano Babic
Headers show

Commit Message

Breno Matheus Lima Jan. 10, 2017, 6:32 p.m. UTC
According to doc/README.distro:
"fdt_addr_r:
Mandatory. The location in RAM where the DTB will be loaded or copied to when
processing the fdtdir/devicetreedir or fdt/devicetree options in
extlinux.conf."

So add the fdt_addr_r environment variable.

Suggested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Breno Lima <breno.lima@nxp.com>
---
 include/configs/udoo_neo.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Jan. 27, 2017, 9:44 a.m. UTC | #1
On 10/01/2017 19:32, Breno Lima wrote:
> According to doc/README.distro:
> "fdt_addr_r:
> Mandatory. The location in RAM where the DTB will be loaded or copied to when
> processing the fdtdir/devicetreedir or fdt/devicetree options in
> extlinux.conf."
> 
> So add the fdt_addr_r environment variable.
> 
> Suggested-by: Andreas Färber <afaerber@suse.de>
> Signed-off-by: Breno Lima <breno.lima@nxp.com>
> ---
>  include/configs/udoo_neo.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
> index 915d0f0..f1e1c93 100644
> --- a/include/configs/udoo_neo.h
> +++ b/include/configs/udoo_neo.h
> @@ -36,6 +36,7 @@
>  	"initrd_high=0xffffffff\0" \
>  	"fdtfile=undefined\0" \
>  	"fdt_addr=0x83000000\0" \
> +	"fdt_addr_r=0x83000000\0" \
>  	"ip_dyn=yes\0" \
>  	"mmcdev=0\0" \
>  	"mmcrootfstype=ext4\0" \
> 
Applied to u-boot-imx, thanks !

Best regards,
Stefano Babic
diff mbox

Patch

diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
index 915d0f0..f1e1c93 100644
--- a/include/configs/udoo_neo.h
+++ b/include/configs/udoo_neo.h
@@ -36,6 +36,7 @@ 
 	"initrd_high=0xffffffff\0" \
 	"fdtfile=undefined\0" \
 	"fdt_addr=0x83000000\0" \
+	"fdt_addr_r=0x83000000\0" \
 	"ip_dyn=yes\0" \
 	"mmcdev=0\0" \
 	"mmcrootfstype=ext4\0" \