riscv: treat cpu devicetree nodes without status as enabled
commite3d794d555cda31d48c89bdbc96ce862857be93f
authorJohan Hovold <johan@kernel.org>
Fri, 18 Jan 2019 14:03:07 +0000 (18 15:03 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 11 Feb 2019 23:35:33 +0000 (11 15:35 -0800)
treea024ce1610facb6f5f54ffdd2824024c478d3d6b
parent149820c6cf3cf51cd9dc1cf50cbe59b5b61e3909
riscv: treat cpu devicetree nodes without status as enabled

Follow the Linux convention and treat devicetree nodes without a status
property as enabled rather than disabled, while also allowing "ok" as a
shorthand for "okay".

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/kernel/cpu.c