platform: openpiton: Read the device configurations from device tree
authorAtish Patra <atish.patra@wdc.com>
Mon, 23 Mar 2020 19:48:59 +0000 (12:48 -0700)
committerAnup Patel <anup@brainfault.org>
Tue, 24 Mar 2020 08:03:39 +0000 (13:33 +0530)
commit4c374511fd893ee4a7c7f1b225307f7d257e6bf1
tree70010d4910e6a2440a2f1e75e4aacf4b9f1b832c
parent040e4e2ec220403fb2508aa0809052924ef63a0b
platform: openpiton: Read the device configurations from device tree

OpenPiton is designed to run on different FPGAs with different
configurations. Use the fdt parser to retrieve the required values
from device tree instead of using fixed values.

Signed-off-by: Atish Patra <atish.patra@wdc.com>
Tested-by: Jonathan Balkind <jbalkind@cs.princeton.edu>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
platform/fpga/openpiton/platform.c