Marri Devender Rao | 6602714 | 2022-04-29 04:04:14 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # config: 234 10 |
| 4 | # @brief: Add CFAM details to dump. |
| 5 | # |
| 6 | |
| 7 | # shellcheck disable=SC1091 |
| 8 | . "$DREPORT_INCLUDE"/functions |
| 9 | |
| 10 | source /etc/profile.d/power-target.sh |
| 11 | |
| 12 | file_name="cfam.log" |
| 13 | if [ -e "/usr/bin/edbg" ]; then |
| 14 | desc="cfam 283c" |
| 15 | command="/usr/bin/edbg getcfam pu 283c -pall" |
| 16 | add_cmd_output "$command" "$file_name" "$desc" |
| 17 | |
| 18 | desc="cfam 1007" |
| 19 | command="/usr/bin/edbg getcfam pu 1007 -pall" |
| 20 | add_cmd_output "$command" "$file_name" "$desc" |
| 21 | |
| 22 | desc="cfam 2809" |
| 23 | command="/usr/bin/edbg getcfam pu 2809 -pall" |
| 24 | add_cmd_output "$command" "$file_name" "$desc" |
| 25 | fi |