aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/include/utilities.inc
diff options
context:
space:
mode:
Diffstat (limited to 'conf/machine/include/utilities.inc')
-rw-r--r--conf/machine/include/utilities.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/conf/machine/include/utilities.inc b/conf/machine/include/utilities.inc
index e9695bde..f11b588b 100644
--- a/conf/machine/include/utilities.inc
+++ b/conf/machine/include/utilities.inc
@@ -20,3 +20,9 @@ def make_dtb_boot_files(d):
return os.path.basename(dtb)
return ' '.join([transform(dtb) for dtb in alldtbs.split() if dtb])
+
+def get_spl_binary(d):
+ imx_default_bootloader = d.get('IMX_DEFAULT_BOOTLOADER')
+ spl_binary = d.getVar("SPL_BINARY_pn-%s" % imx_default_bootloader)
+
+ return spl_binary or ""
at