[Pdbg] [PATCH 00/11] Reorganization of device trees

Amitay Isaacs amitay at ozlabs.org
Thu Apr 30 13:05:33 AEST 2020


Rename backend device trees that are independent of processor.  Allow for
maximum possible chips in each backend and the p9 system tree.  Convert p9
system tree to use m4 macros, to avoid errors.  Also, split fake device trees
used for testing.

This patchset is depedant on sbefifo patchset.

Amitay Isaacs (11):
  dts: Rename p9-kernel to bmc-kernel
  dts: Populate all possible chips in bmc-kernel device tree
  dts: Rename p9-cronus to bmc-cronus
  dts: Populate all possible chips in bmc-cronus device tree
  dts: Rename p9-sbefifo to bmc-sbefifo
  dts: Populate all possible chips in bmc-sbefifo device tree
  dts: Generate p9.dts
  dts: Populate all possible chips in p9 system tree
  tests: Remove unnecessary include and dependency
  dts: Split fake backend and system trees
  dts: Split fake2 into backend and system trees

 Makefile.am                       |   19 +-
 bmc-cronus.dts.m4                 |   52 +
 bmc-kernel.dts.m4                 |  110 +
 bmc-sbefifo.dts.m4                |  100 +
 fake-backend.dts.m4               |   52 +
 fake.dts.m4                       |   31 +-
 fake2-backend.dts.m4              |  104 +
 fake2.dts.m4                      |   80 +-
 libpdbg/dtb.c                     |   17 +-
 p9-cronus.dts.m4                  |   67 -
 p9-kernel.dts.m4                  |   90 -
 p9-sbefifo.dts.m4                 |   86 -
 p9.dts                            | 3436 -----------------------------
 p9.dts.m4                         |  653 ++++++
 src/tests/libpdbg_probe_test.c    |    2 -
 src/tests/libpdbg_target_test.c   |    2 -
 tests/test_p9_fapi_translation.sh |  776 ++++++-
 tests/test_prop.sh                |    4 +
 tests/test_tree2.sh               |    1 +
 19 files changed, 1871 insertions(+), 3811 deletions(-)
 create mode 100644 bmc-cronus.dts.m4
 create mode 100644 bmc-kernel.dts.m4
 create mode 100644 bmc-sbefifo.dts.m4
 create mode 100644 fake-backend.dts.m4
 create mode 100644 fake2-backend.dts.m4
 delete mode 100644 p9-cronus.dts.m4
 delete mode 100644 p9-kernel.dts.m4
 delete mode 100644 p9-sbefifo.dts.m4
 delete mode 100644 p9.dts
 create mode 100644 p9.dts.m4

-- 
2.25.4



More information about the Pdbg mailing list