diff mbox series

configs: ls1021a: Append CMA configuration to bootargs

Message ID 20200423004143.48527-1-alison.wang@nxp.com
State Superseded
Headers show
Series configs: ls1021a: Append CMA configuration to bootargs | expand

Commit Message

Alison Wang April 23, 2020, 12:41 a.m. UTC
According to commit <feb8fa2ef0a5>, this patch appends CMA configuration
to bootargs for LS1021ATWR.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu at nxp.com>
Signed-off-by: Alison Wang <alison.wang at nxp.com>
---
 include/configs/ls1021atwr.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Priyanka Jain April 23, 2020, 10:31 a.m. UTC | #1
>-----Original Message-----
>From: Alison Wang <alison.wang at nxp.com>
>Sent: Thursday, April 23, 2020 6:12 AM
>To: u-boot at lists.denx.de; Priyanka Jain <priyanka.jain at nxp.com>; Jagdish
>Gediya <jagdish.gediya at nxp.com>
>Cc: Shengzhou Liu <shengzhou.liu at nxp.com>
>Subject: [PATCH] configs: ls1021a: Append CMA configuration to bootargs
>
>According to commit <feb8fa2ef0a5>, this patch appends CMA configuration
>to bootargs for LS1021ATWR.
>
Please mention what this patch is doing (as a fresh patch).
No need to mention relation with previous commit.

Regards
Priyanka
<snip>
Alison Wang April 23, 2020, 2:54 p.m. UTC | #2
Hi, Priyanka,

> -----Original Message-----
> From: Priyanka Jain <priyanka.jain at nxp.com>
> Sent: Thursday, April 23, 2020 6:32 PM
> To: Alison Wang <alison.wang at nxp.com>; u-boot at lists.denx.de; Jagdish
> Gediya <jagdish.gediya at nxp.com>
> Cc: Shengzhou Liu <shengzhou.liu at nxp.com>
> Subject: RE: [PATCH] configs: ls1021a: Append CMA configuration to bootargs
> 
> >-----Original Message-----
> >From: Alison Wang <alison.wang at nxp.com>
> >Sent: Thursday, April 23, 2020 6:12 AM
> >To: u-boot at lists.denx.de; Priyanka Jain <priyanka.jain at nxp.com>;
> >Jagdish Gediya <jagdish.gediya at nxp.com>
> >Cc: Shengzhou Liu <shengzhou.liu at nxp.com>
> >Subject: [PATCH] configs: ls1021a: Append CMA configuration to bootargs
> >
> >According to commit <feb8fa2ef0a5>, this patch appends CMA
> >configuration to bootargs for LS1021ATWR.
> >
> Please mention what this patch is doing (as a fresh patch).
> No need to mention relation with previous commit.
[Alison] Update the comment in v2.

Best Regards,
Alison Wang
diff mbox series

Patch

diff --git a/include/configs/ls1021atwr.h b/include/configs/ls1021atwr.h
index a6289850ca..45ce460dca 100644
--- a/include/configs/ls1021atwr.h
+++ b/include/configs/ls1021atwr.h
@@ -297,7 +297,8 @@ 
 
 #ifdef CONFIG_LPUART
 #define CONFIG_EXTRA_ENV_SETTINGS       \
-	"bootargs=root=/dev/ram0 rw console=ttyLP0,115200 $othbootargs\0" \
+	"bootargs=root=/dev/ram0 rw console=ttyLP0,115200 "	\
+		"cma=64M at 0x0-0xb0000000\0" \
 	"initrd_high=0xffffffff\0"      \
 	"fdt_addr=0x64f00000\0"		\
 	"kernel_addr=0x65000000\0"	\
@@ -353,7 +354,8 @@ 
 		"$kernel_size && bootm $load_addr#$board\0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS	\
-	"bootargs=root=/dev/ram0 rw console=ttyS0,115200 $othbootargs\0" \
+	"bootargs=root=/dev/ram0 rw console=ttyS0,115200 "	\
+		"cma=64M at 0x0-0xb0000000\0" \
 	"initrd_high=0xffffffff\0"      \
 	"fdt_addr=0x64f00000\0"		\
 	"kernel_addr=0x61000000\0"	\