9680eac732205bd6e0c0b2135357b718a336b95c parent 6fe87675314b4b1ac7ba339e2a4ab8d739b600d6 author Amos Waterland 1150170302 -0400 committer Paul Mackerras 1150363886 +1000 [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