X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=common%2Fimage-cipher.c;h=09869f78464402a9c005122e5380b2d543b6dcf6;hb=1099b2abef35c3c887f6afac1a8ef18c7924d5d2;hp=cee3b03ee50622c95ce59d9da8f3e0c4f369afe2;hpb=0e78c9181c6460d10255bfb6dc6d1f2d6912717e;p=oweals%2Fu-boot.git diff --git a/common/image-cipher.c b/common/image-cipher.c index cee3b03ee5..09869f7846 100644 --- a/common/image-cipher.c +++ b/common/image-cipher.c @@ -10,7 +10,7 @@ #include #include DECLARE_GLOBAL_DATA_PTR; -#endif /* !USE_HOSTCC*/ +#endif /* !USE_HOSdTCC*/ #include #include #include @@ -88,7 +88,7 @@ static int fit_image_setup_decrypt(struct image_cipher_info *info, return -1; } - info->keyname = fdt_getprop(fit, cipher_noffset, "key-name-hint", NULL); + info->keyname = fdt_getprop(fit, cipher_noffset, FIT_KEY_HINT, NULL); if (!info->keyname) { printf("Can't get key name\n"); return -1;