提交 cef02d93 编写于 作者: Z Zbigniew Bodek 提交者: Wojciech Zmuda WX948747

Add stub for fetching bootargs for Qemu ARM virt

Currently unused but when rootfs is enabled
we should get this error and quickly narrow down
where to add proper bootargs handling.
Signed-off-by: NZbigniew Bodek <zbigniew.bodek@huawei.com>
Change-Id: Ie8d96fc3b6ad7cc33abe67530ca8ff9526b46855
上级 89fb5eb3
......@@ -232,6 +232,17 @@ STATIC INT32 GetArgs(CHAR **args)
}
#endif
#ifdef LOSCFG_PLATFORM_QEMU_ARM_VIRT_CA7
/*
* TODO: Implement method of fetching bootargs for
* Qemu ARM virtual platform. If used without
* bootloader it will pass DTB by default.
*/
(void)ret;
PRINT_ERR("Fetching bootargs unimplemented.\n");
goto ERROUT;
#endif
for (i = 0; i < COMMAND_LINE_SIZE; i += len + 1) {
len = strlen(cmdLine + i);
tmp = strstr(cmdLine + i, bootargName);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册