cmd: show: Add support for show command
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 22 Aug 2019 14:09:55 +0000 (19:39 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Sun, 25 Aug 2019 03:14:04 +0000 (08:44 +0530)
commitb8208f7e88992231bb845f6a9b2bb3e6a6896912
treea741fa3ad9bdc1ba966d14e992345c09d47e0128
parent4b3c8c251812692828985a46b330d88eeb577a7a
cmd: show: Add support for show command

Add support for show command that supports following args:
- k3conf show hosts: Prints all the available TISCI hosts
- k3conf show threads: Prints all the available TISCI secure proxy threads
- k3conf show device: Prints all the available TISCI devices
- k3conf show device <dev_id>: Prints the corresponding device id information
- k3conf show clock: Prints all the available TISCI clocks
- k3conf show clock <dev_id>: Prints the clocks for corresponding device id
- k3conf show processor: Prints all the available TISCI processors

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Makefile
common/cmd_show.c [new file with mode: 0644]
common/help.c
common/k3conf.c
include/help.h
include/k3conf.h [new file with mode: 0644]