summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel-fitimage.bbclass21
1 files changed, 1 insertions, 20 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index b51882dce4..1bcb09c598 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -207,7 +207,6 @@ EOF
207fitimage_emit_section_ramdisk() { 207fitimage_emit_section_ramdisk() {
208 208
209 ramdisk_csum="${FIT_HASH_ALG}" 209 ramdisk_csum="${FIT_HASH_ALG}"
210 ramdisk_ctype="none"
211 ramdisk_loadline="" 210 ramdisk_loadline=""
212 ramdisk_entryline="" 211 ramdisk_entryline=""
213 212
@@ -218,24 +217,6 @@ fitimage_emit_section_ramdisk() {
218 ramdisk_entryline="entry = <${UBOOT_RD_ENTRYPOINT}>;" 217 ramdisk_entryline="entry = <${UBOOT_RD_ENTRYPOINT}>;"
219 fi 218 fi
220 219
221 case $3 in
222 *.gz)
223 ramdisk_ctype="gzip"
224 ;;
225 *.bz2)
226 ramdisk_ctype="bzip2"
227 ;;
228 *.lzma)
229 ramdisk_ctype="lzma"
230 ;;
231 *.lzo)
232 ramdisk_ctype="lzo"
233 ;;
234 *.lz4)
235 ramdisk_ctype="lz4"
236 ;;
237 esac
238
239 cat << EOF >> ${1} 220 cat << EOF >> ${1}
240 ramdisk@${2} { 221 ramdisk@${2} {
241 description = "${INITRAMFS_IMAGE}"; 222 description = "${INITRAMFS_IMAGE}";
@@ -243,7 +224,7 @@ fitimage_emit_section_ramdisk() {
243 type = "ramdisk"; 224 type = "ramdisk";
244 arch = "${UBOOT_ARCH}"; 225 arch = "${UBOOT_ARCH}";
245 os = "linux"; 226 os = "linux";
246 compression = "${ramdisk_ctype}"; 227 compression = "none";
247 ${ramdisk_loadline} 228 ${ramdisk_loadline}
248 ${ramdisk_entryline} 229 ${ramdisk_entryline}
249 hash@1 { 230 hash@1 {