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: Zbigniew Bodek <zbigniew.bodek@huawei.com> Change-Id: Ie8d96fc3b6ad7cc33abe67530ca8ff9526b46855
This commit is contained in:
parent
89fb5eb32f
commit
cef02d9340
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue