Add extra_bootargs into kernel boot option
Manufacture team wants more options to be delivered to kernel/daemons.
Introduced extra_bootargs as other platforms and added default
debug, factory, wifical k/v pairs
Change-Id: I54bb9141eb5220462d12d605b4d83b869b804c98
diff --git a/include/configs/board953x.h b/include/configs/board953x.h
index ac2976a..44fbd4a 100755
--- a/include/configs/board953x.h
+++ b/include/configs/board953x.h
@@ -267,7 +267,7 @@
#endif
#define CONFIG_EXTRA_ENV_SETTINGS \
- "dir=\0" "ACTIVATED_KERNEL_NAME=kernel0\0" ATH_U_CMD ATH_F_CMD ATH_K_CMD ""
+ "dir=\0" "ACTIVATED_KERNEL_NAME=kernel0\0" "extra_bootargs=debug=1 factory=0 wifical=0\0" ATH_U_CMD ATH_F_CMD ATH_K_CMD
#define CONFIG_BOOTARGS "console=ttyS0,115200 root=" ATH_ROOT_DEV " rootfstype=squashfs init=/init " MTDPARTS_DEFAULT
@@ -318,10 +318,12 @@
# define CONFIG_BOOTCOMMAND \
__if_booting_to_partition_2 \
"setenv bootargs " __WC_BOOTARGS_CONSOLE " root=rootfs1 " __WC_BOOTARGS_PART_DEFS \
+ " ${extra_bootargs} " \
"&&" __WC_READ_EXT \
"&& bootm 0x82060000;" \
__else \
"setenv bootargs " __WC_BOOTARGS_CONSOLE " root=rootfs0 " __WC_BOOTARGS_PART_DEFS \
+ " ${extra_bootargs} " \
"&& bootm 0x9fe70000;" \
__endif