powerpc/ps3: Quieten boot wrapper output with run_cmd
authorGeoff Levand <geoff@infradead.org>
Mon, 19 Oct 2015 17:53:26 +0000 (10:53 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Oct 2015 09:06:56 +0000 (20:06 +1100)
commit879c26d4f6a2b573d75cc235946019b6208ed6bc
treefd58d2eb819eebaebf452c01dfce7410116ac073
parent1856f50c66dff0afb4a6a3e22497ae153aec9411
powerpc/ps3: Quieten boot wrapper output with run_cmd

Add a boot wrapper script function run_cmd which will run a shell command
quietly and only print the output if either V=1 or an error occurs.

Also, run the ps3 dd commands with run_cmd to clean up the build output.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/boot/wrapper