diff mbox series

[v2,6/6] rockchip: rv1126: Move RAM disk address

Message ID 20240124032602.126059-7-tim@feathertop.org
State Accepted
Commit e6593b5d1da8091155fa70ac7b326ed1e50b7cc3
Delegated to: Kever Yang
Headers show
Series rockchip: Add support for rv1126 based Sonoff iHost Gateway | expand

Commit Message

Tim Lunn Jan. 24, 2024, 3:26 a.m. UTC
OPTEE gets loaded into a memory region overlapping with the ram disk.

Fix the ramdisk address so it doesn't overlap with the OPTEE memory
region.

Signed-off-by: Tim Lunn <tim@feathertop.org>

---

(no changes since v1)

 include/configs/rv1126_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kever Yang Feb. 1, 2024, 3:19 a.m. UTC | #1
On 2024/1/24 11:26, Tim Lunn wrote:
> OPTEE gets loaded into a memory region overlapping with the ram disk.
>
> Fix the ramdisk address so it doesn't overlap with the OPTEE memory
> region.
>
> Signed-off-by: Tim Lunn <tim@feathertop.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
>
> ---
>
> (no changes since v1)
>
>   include/configs/rv1126_common.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/rv1126_common.h b/include/configs/rv1126_common.h
> index 168cd8b167..ea290f763c 100644
> --- a/include/configs/rv1126_common.h
> +++ b/include/configs/rv1126_common.h
> @@ -26,7 +26,7 @@
>   	"fdt_addr_r=0x08300000\0" \
>   	"fdtoverlay_addr_r=0x02000000\0" \
>   	"kernel_addr_r=0x02008000\0" \
> -	"ramdisk_addr_r=0x0a200000\0"
> +	"ramdisk_addr_r=0x0a400000\0"
>   
>   #define CFG_EXTRA_ENV_SETTINGS \
>   	"fdt_high=0x0fffffff\0" \
diff mbox series

Patch

diff --git a/include/configs/rv1126_common.h b/include/configs/rv1126_common.h
index 168cd8b167..ea290f763c 100644
--- a/include/configs/rv1126_common.h
+++ b/include/configs/rv1126_common.h
@@ -26,7 +26,7 @@ 
 	"fdt_addr_r=0x08300000\0" \
 	"fdtoverlay_addr_r=0x02000000\0" \
 	"kernel_addr_r=0x02008000\0" \
-	"ramdisk_addr_r=0x0a200000\0"
+	"ramdisk_addr_r=0x0a400000\0"
 
 #define CFG_EXTRA_ENV_SETTINGS \
 	"fdt_high=0x0fffffff\0" \