summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes-recipe/uboot-sign.bbclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/classes-recipe/uboot-sign.bbclass b/meta/classes-recipe/uboot-sign.bbclass
index ad04c82378..abde0bc61c 100644
--- a/meta/classes-recipe/uboot-sign.bbclass
+++ b/meta/classes-recipe/uboot-sign.bbclass
@@ -88,6 +88,9 @@ UBOOT_FIT_ADDRESS_CELLS ?= "1"
88# This is only necessary for determining the signing configuration 88# This is only necessary for determining the signing configuration
89KERNEL_PN = "${PREFERRED_PROVIDER_virtual/kernel}" 89KERNEL_PN = "${PREFERRED_PROVIDER_virtual/kernel}"
90 90
91UBOOT_FIT_UBOOT_LOADADDRESS ?= "${UBOOT_LOADADDRESS}"
92UBOOT_FIT_UBOOT_ENTRYPOINT ?= "${UBOOT_ENTRYPOINT}"
93
91python() { 94python() {
92 # We need u-boot-tools-native if we're creating a U-Boot fitImage 95 # We need u-boot-tools-native if we're creating a U-Boot fitImage
93 sign = d.getVar('UBOOT_SIGN_ENABLE') == '1' 96 sign = d.getVar('UBOOT_SIGN_ENABLE') == '1'
@@ -248,8 +251,8 @@ uboot_fitimage_assemble() {
248 os = "u-boot"; 251 os = "u-boot";
249 arch = "${UBOOT_ARCH}"; 252 arch = "${UBOOT_ARCH}";
250 compression = "none"; 253 compression = "none";
251 load = <${UBOOT_LOADADDRESS}>; 254 load = <${UBOOT_FIT_UBOOT_LOADADDRESS}>;
252 entry = <${UBOOT_ENTRYPOINT}>; 255 entry = <${UBOOT_FIT_UBOOT_ENTRYPOINT}>;
253EOF 256EOF
254 257
255 if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then 258 if [ "${SPL_SIGN_ENABLE}" = "1" ] ; then