nios2: use of_property_read_bool

Use of_property_read_bool instead of open-coding it as fpcu_has.
Convert the members of struct cpuinfo from u32 to bool accordingly as
they are only used as boolean anyhow.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

Acked-by: Ley Foon Tan <lftan@altera.com>
This commit is contained in:
Ley Foon Tan 2016-08-25 16:11:59 +08:00
commit 476080a793
2 changed files with 9 additions and 14 deletions