MIPS: lantiq: fix cmdline parsing
commit730fa039f16df58c2dc3ff2894b7d767f100cf6e
authorThomas Langer <thomas.langer@lantiq.com>
Wed, 2 May 2012 10:27:39 +0000 (2 12:27 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 15 May 2012 15:49:22 +0000 (15 17:49 +0200)
treeaac6f2460a5bfae54473abc896643ab0a9d4277b
parent7705f6867bfc6f2ea42c3965a85df72abf070c86
MIPS: lantiq: fix cmdline parsing

The code tested if the KSEG1 mapped address of argv was != 0. We need to use
CPHYSADDR instead to make the conditional actually work.

Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3722/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/prom.c