linux-sg2042/arch/mips/bcm47xx
Hauke Mehrtens 47a3486144 MIPS: BCM47xx: Fix nvram_getenv return value.
Nvram_getenv should behave like cfe_getenv. cfe_getenv returns 0 on
success and -9 if the value was not found. If the input was wrong -8
will be returned by cfe_getenv.  Change nvram_getenv to do the same.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1520/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2010-08-05 13:26:31 +01:00
..
Makefile MIPS: BCM47xx: Add NVRAM support devices 2010-07-05 17:17:32 +01:00
Platform MIPS: BCM47xx: Migrate to new platform makefile style. 2010-08-05 13:25:54 +01:00
gpio.c MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00
irq.c [MIPS] Add support for BCM47XX CPUs. 2007-10-11 23:46:02 +01:00
nvram.c MIPS: BCM47xx: Fix nvram_getenv return value. 2010-08-05 13:26:31 +01:00
prom.c MIPS: BCM47xx: Really fix 128MB RAM problem 2010-08-05 13:25:39 +01:00
serial.c [MIPS] Add support for BCM47XX CPUs. 2007-10-11 23:46:02 +01:00
setup.c MIPS: BCM47xx: Add NVRAM support devices 2010-07-05 17:17:32 +01:00
time.c [MIPS] Kill duplicated setup_irq() for cp0 timer 2007-10-19 18:15:58 +01:00
wgt634u.c MIPS: Nuke trailing blank lines 2010-02-27 12:53:14 +01:00