[MIPS] Au1xx0: fix prom_getenv() to handle YAMON style environment
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 27 May 2006 19:36:41 +0000 (23:36 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jun 2006 23:15:17 +0000 (00:15 +0100)
commitfef6d6a73a3985e4fdb5ab1910909c0c73539829
tree15cfecce58c3e95be680c6af750b807eac4f2d35
parent6ebba0e2f56ee77270a9ef8e92c1b4ec38e5f419
[MIPS] Au1xx0: fix prom_getenv() to handle YAMON style environment

Alchemy boards use YAMON which passes the environment variables as the
tuples of strings (the name followed by the value) unlike PMON which
passes "name=<val>" strings.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/prom.c