From: Amos Waterland Date: Tue, 13 Jun 2006 03:45:02 +0000 (-0400) Subject: [POWERPC] Fix builtin command line interaction with firmware X-Git-Tag: v2.6.18-rc1~1081^2~225^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4aa9c2009187fff1c999fe0aaa134c1a84f48a;p=pandora-kernel.git [POWERPC] Fix builtin command line interaction with firmware It seems that prom_init's early_cmdline_parse is broken on at least Apple 970 xserves and IBM JS20 blades with SLOF. The firmware of these machines returns -1 and 1 respectively when getprop is called for the bootargs property of /chosen, causing Linux to ignore its builtin command line in favor of a null string. This patch makes Linux use its builtin command line if getprop returns an error or a null string. Signed-off-by: Amos Waterland Acked-by: Segher Boessenkool Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed