Thomas Chou 62a0557382 nios2: fix bootm error on fdt args
We should check argv[3] only if there are enough args. Otherwise,
it might cause invalid memory access fault.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
2010-08-19 22:15:49 -04:00
..
2010-08-19 22:15:49 -04:00
2010-05-28 10:56:03 -04:00
2010-05-28 10:56:03 -04:00
2010-05-28 10:56:03 -04:00