summaryrefslogtreecommitdiffstats
path: root/firmware/57X-GSP/570.144/find_functions_final.py
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/57X-GSP/570.144/find_functions_final.py')
-rw-r--r--firmware/57X-GSP/570.144/find_functions_final.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/57X-GSP/570.144/find_functions_final.py b/firmware/57X-GSP/570.144/find_functions_final.py
index 6e7ac0f..aa073f7 100644
--- a/firmware/57X-GSP/570.144/find_functions_final.py
+++ b/firmware/57X-GSP/570.144/find_functions_final.py
@@ -8,9 +8,10 @@ Find GSP firmware functions using the actual calling convention:
import struct
import json
+import os
-FWIMAGE_PATH = "$OPEN_IOV_ROOT/firmware/570-GSP/gsp-570.144.fwimage.bin"
-OUTPUT_DIR = "$OPEN_IOV_ROOT/firmware/570-GSP"
+FWIMAGE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "gsp-570.144.fwimage.bin")
+OUTPUT_DIR = os.path.dirname(os.path.abspath(__file__))
BASE_ADDR = 0x04000000
# Executable sections