[U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args

Tom Rini trini at ti.com
Thu Apr 11 17:22:10 CEST 2013


Add 'optargs' variable to be set to additional kernel arguments, similar
to omap3*/am3* usage.

Cc: Sricharan R <r.sricharan at ti.com>
Signed-off-by: Tom Rini <trini at ti.com>
---
 include/configs/omap5_common.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/omap5_common.h b/include/configs/omap5_common.h
index 2751627..5384a55 100644
--- a/include/configs/omap5_common.h
+++ b/include/configs/omap5_common.h
@@ -150,10 +150,12 @@
 	"usbtty=cdc_acm\0" \
 	"vram=16M\0" \
 	"partitions=" PARTS_DEFAULT "\0" \
+	"optargs=\0" \
 	"mmcdev=0\0" \
 	"mmcroot=/dev/mmcblk0p2 rw\0" \
 	"mmcrootfstype=ext3 rootwait\0" \
 	"mmcargs=setenv bootargs console=${console} " \
+		"${optargs} " \
 		"vram=${vram} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
-- 
1.7.9.5



More information about the U-Boot mailing list