1*24226c4fSGopichand Paturi#!/usr/bin/env bash
2*24226c4fSGopichand Paturi#
3*24226c4fSGopichand Paturi# config: 234 10
4*24226c4fSGopichand Paturi# @brief: Add CFAM details to dump.
5*24226c4fSGopichand Paturi#
6*24226c4fSGopichand Paturi
7*24226c4fSGopichand Paturi# shellcheck disable=SC1091
8*24226c4fSGopichand Paturi. "$DREPORT_INCLUDE"/functions
9*24226c4fSGopichand Paturi
10*24226c4fSGopichand Paturisource /etc/profile.d/power-target.sh
11*24226c4fSGopichand Paturi
12*24226c4fSGopichand Paturifile_name="cfam.log"
13*24226c4fSGopichand Paturiif [ -e "/usr/bin/edbg" ]; then
14*24226c4fSGopichand Paturi    desc="cfam 283c"
15*24226c4fSGopichand Paturi    command="/usr/bin/edbg getcfam pu 283c -pall"
16*24226c4fSGopichand Paturi    add_cmd_output "$command" "$file_name" "$desc"
17*24226c4fSGopichand Paturi
18*24226c4fSGopichand Paturi    desc="cfam 1007"
19*24226c4fSGopichand Paturi    command="/usr/bin/edbg getcfam pu 1007 -pall"
20*24226c4fSGopichand Paturi    add_cmd_output "$command" "$file_name" "$desc"
21*24226c4fSGopichand Paturi
22*24226c4fSGopichand Paturi    desc="cfam 2809"
23*24226c4fSGopichand Paturi    command="/usr/bin/edbg getcfam pu 2809 -pall"
24*24226c4fSGopichand Paturi    add_cmd_output "$command" "$file_name" "$desc"
25*24226c4fSGopichand Paturifi
26