diff options
author | Rashmica Gupta <rashmica.g@gmail.com> | 2018-09-07 16:40:04 +1000 |
---|---|---|
committer | Alistair Popple <alistair@popple.id.au> | 2018-09-12 11:07:42 +1000 |
commit | 72825ee237f0f357a7852a96d2ced7f20309ab90 (patch) | |
tree | 300e89387e9d9e85ff35cc0bba1ef47f9f3496f2 /libpdbg/chip.c | |
parent | cdb94a45065e04fdc1a406ae853ecdc0bdc9eb66 (diff) | |
download | pdbg-72825ee237f0f357a7852a96d2ced7f20309ab90.tar.gz pdbg-72825ee237f0f357a7852a96d2ced7f20309ab90.zip |
libpdbg: Check if scom controllers are exposed
If CONFIG_SCOM_DEBUGFS is not set in the running kernel then
the scom controllers are not exposed and so using getscom
won't work. Add check for /sys/kernel/debug/powerpc/scom to
give a more useful error message.
Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Diffstat (limited to 'libpdbg/chip.c')
0 files changed, 0 insertions, 0 deletions