summaryrefslogtreecommitdiff
path: root/util/flash_fp_mcu_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/flash_fp_mcu_common.sh')
-rw-r--r--util/flash_fp_mcu_common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/flash_fp_mcu_common.sh b/util/flash_fp_mcu_common.sh
index 31c264b617..38528382eb 100644
--- a/util/flash_fp_mcu_common.sh
+++ b/util/flash_fp_mcu_common.sh
@@ -18,6 +18,10 @@ if [[ "$#" -eq 0 ]]; then
exit 1
fi
+# print out canonical path to differentiate between /usr/local/bin and
+# /usr/bin installs
+echo "$(readlink -f "$0")"
+
check_hardware_write_protect_disabled() {
if ectool gpioget EC_WP_L | grep -q '= 0'; then
echo "Please make sure WP is deasserted."