Re: [PATCH v1 2/5] colibri_imx7: enable relocation of fdt and initrd

2020-02-05 Thread Oleksandr Suvorov
On Tue, Feb 4, 2020 at 10:52 PM Igor Opaniuk  wrote:
>
> From: Igor Opaniuk 
>
> Remove 'fdt_high' and 'initrd_high' environment variables (set to 0x)
> from default environment which prevents relocation of FDT and initrd.
> Rely on 'bootm_size' value instead to safely relocate kernel, device tree and
> initrd.
>
> Signed-off-by: Igor Opaniuk 

Reviewed-by: Oleksandr Suvorov 

> ---
>
>  include/configs/colibri_imx7.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
> index 603ea3a053..7c00f78ef1 100644
> --- a/include/configs/colibri_imx7.h
> +++ b/include/configs/colibri_imx7.h
> @@ -108,8 +108,6 @@
>  #define MEM_LAYOUT_ENV_SETTINGS \
> "bootm_size=0x1000\0" \
> "fdt_addr_r=0x8200\0" \
> -   "fdt_high=0x\0" \
> -   "initrd_high=0x\0" \
> "kernel_addr_r=0x8100\0" \
> "ramdisk_addr_r=0x8210\0" \
> "scriptaddr=0x8250\0"
> --
> 2.17.1
>


-- 
Best regards

Oleksandr Suvorov
cryo...@gmail.com


[PATCH v1 2/5] colibri_imx7: enable relocation of fdt and initrd

2020-02-04 Thread Igor Opaniuk
From: Igor Opaniuk 

Remove 'fdt_high' and 'initrd_high' environment variables (set to 0x)
from default environment which prevents relocation of FDT and initrd.
Rely on 'bootm_size' value instead to safely relocate kernel, device tree and
initrd.

Signed-off-by: Igor Opaniuk 
---

 include/configs/colibri_imx7.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h
index 603ea3a053..7c00f78ef1 100644
--- a/include/configs/colibri_imx7.h
+++ b/include/configs/colibri_imx7.h
@@ -108,8 +108,6 @@
 #define MEM_LAYOUT_ENV_SETTINGS \
"bootm_size=0x1000\0" \
"fdt_addr_r=0x8200\0" \
-   "fdt_high=0x\0" \
-   "initrd_high=0x\0" \
"kernel_addr_r=0x8100\0" \
"ramdisk_addr_r=0x8210\0" \
"scriptaddr=0x8250\0"
-- 
2.17.1