]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Lantiq: Fix cmdline parsing
authorJohn Crispin <blogic@openwrt.org>
Wed, 11 Jan 2012 20:44:25 +0000 (21:44 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Apr 2012 23:22:55 +0000 (00:22 +0100)
commit9b11da2288aa0d4f947370b8e23dda36f32bc96f
tree65f3feac050bd3f3a195ccbef915733306140722
parente311f2252a4303d9f487276ad50c5810a8687543
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/3258/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lantiq/prom.c