[Pdbg] [PATCH 0/5] Some more cleanups

Amitay Isaacs amitay at ozlabs.org
Mon May 21 13:01:22 AEST 2018


Now that I read the device tree spec, it was easy to fix the dtc warnings.

Also, try to contain the use of libpdbg internal api.  Avoid including
libpdbg internal headers (assuming everything other than libpdbg.h is
internal).  Hopefully we can expose all the public api only via libpdbg.h.

Amitay Isaacs (5):
  main: Include string.h for memset
  main: Use pdbg logging api in pdbg
  main: Do not include libpdbg internal headers
  dt: Add missing #address-cells, #size-cells and reg properties
  Makefile: Don't suppress warnings from DTC

 Makefile.am      | 4 ++--
 p8-fsi.dts.m4    | 2 ++
 p8-host.dts.m4   | 2 ++
 p8-i2c.dts.m4    | 2 ++
 p9-host.dts.m4   | 6 ++++++
 p9-kernel.dts.m4 | 6 ++++++
 p9-pib.dts.m4    | 4 ++--
 src/cfam.c       | 2 --
 src/htm.c        | 8 ++++++--
 src/htm.h        | 2 --
 src/main.c       | 8 +++-----
 src/main.h       | 4 +++-
 src/mem.c        | 7 +++++--
 src/reg.c        | 3 +--
 src/scom.c       | 2 +-
 src/scom.h       | 2 --
 src/thread.c     | 5 ++---
 src/thread.h     | 2 --
 18 files changed, 43 insertions(+), 28 deletions(-)

-- 
2.17.0



More information about the Pdbg mailing list