]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
cmd_bootm.c: Only pass BOOTM_STATE_OS_CMDLINE on PowerPC/MIPS
authorTom Rini <trini@ti.com>
Mon, 23 Sep 2013 18:20:37 +0000 (14:20 -0400)
committerTom Rini <trini@ti.com>
Mon, 23 Sep 2013 18:20:37 +0000 (14:20 -0400)
commit3d187b3924b5c027b3e591c439838bc1c70afefd
treefc8edb1b4d83484ed295155456309e1a21960d31
parentd0b961684eb5757211e9463f5f24c3175e453798
cmd_bootm.c: Only pass BOOTM_STATE_OS_CMDLINE on PowerPC/MIPS

In 5c427e4 we pass BOOTM_STATE_OS_CMDLINE as part of the bootm states to
run, on all arches.  However, this is only valid / useful on PowerPC and
MIPS, and causes a problem on ARM where we specifically do not use it.
Rather than make this state fake pass like we do for GO on some arches
(which need updating to use the GO state), we should just not pass
CMDLINE except when it may be used, like before.

Tested-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
common/cmd_bootm.c