slw: Parse DT from host-boot for fast-sleep string

Match the fast-sleep name between OPAL and HB

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jeremy.kerr@au.ibm.com>
ccan/endian: fix cpu_to_be64 on big-endian

Commit 9f64cb20 introduced a spurious unconditional byteswap, which we
don't need for HAVE_BIG_ENDIAN.

Signed-off-by: Jeremy Kerr <jeremy.kerr@au.ibm.com>
console/sysparam: Use the system param to switch console selection

The patch provides the in-band support for reading the 'console-select'
system parameter. It also adds the console support to honour the system
param for switching the console type in P8 systems.

Tested-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jeremy Kerr <jeremy.kerr@au.ibm.com>
cpu: Bump the reinit timeout up to 1s

Probably due to the way we spin, we seem to still be hitting the
odd case where we fail to reinit due to a secondary not having quite
reached the right state inside skiboot. Let's bump the timeout up.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>