"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

bootm: Add support for passing arguments to elf app

This extends the bootm command to allow passing arguments to standalone
ELF applications.

Signed-off-by: Niu Zhihong <zone.niuzh@hotmail.com>

authored by

牛 志宏 and committed by
Tom Rini
2a6d7ad2 7c9f8680

+1 -1
+1 -1
boot/bootm_os.c
··· 402 402 if (flag != BOOTM_STATE_OS_GO) 403 403 return 0; 404 404 405 - bootelf(bmi->images->ep, flags, 0, NULL); 405 + bootelf(bmi->images->ep, flags, bmi->argc, bmi->argv); 406 406 407 407 return 1; 408 408 }