diff options
author | Alistair Popple <alistair@popple.id.au> | 2016-12-19 21:07:51 +1100 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2017-03-30 15:37:41 +1100 |
commit | f045f14437ef63e10f57580978dc9ca3e0256007 (patch) | |
tree | 86c0bdfe2fd6a54d5517ee5313e89765cd801a08 /fake.dts | |
parent | 72bf33c09f06ae63cd9f8d05e412b64622b340d1 (diff) | |
download | pdbg-f045f14437ef63e10f57580978dc9ca3e0256007.tar.gz pdbg-f045f14437ef63e10f57580978dc9ca3e0256007.zip |
Clean-up target configuration in preparation for adding P9 support
The previous implementation of targeting was hardcoded, cumbersome
and difficult to reconfigure for different chip types. This moves to a
method of configuring targets using device-tree which is much easier
to maintain and allows methods to be added to support operations like
getmem on POWER9.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Diffstat (limited to 'fake.dts')
-rw-r--r-- | fake.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fake.dts b/fake.dts new file mode 100644 index 0000000..e6dd958 --- /dev/null +++ b/fake.dts @@ -0,0 +1,16 @@ +/dts-v1/; + +/ { + #address-cells = <0x1>; + #size-cells = <0x0>; + + fsi@0 { + #address-cells = <0x2>; + #size-cells = <0x1>; + compatible = "ibm,fake-fsi"; + reg = <0x0 0x0 0x0>; + + index = <0x0>; + status = "hidden"; + }; +}; |