From: Seung-Woo Kim Date: Wed, 23 Aug 2017 09:22:22 +0000 (+0900) Subject: rpi3: tizen-boot: remove duplicated kernel image loading X-Git-Tag: accepted/tizen/unified/20201110.125028~247 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9676618ff987f811ed840cef0e806387905a9099;p=platform%2Fkernel%2Fu-boot.git rpi3: tizen-boot: remove duplicated kernel image loading There are unnecessary duplicated kernel image loading steps in tizen-boot script. Remove the duplicated loading. Change-Id: I9f6b98f870dcfb5503513e3ca481335531fc0b96 Signed-off-by: Seung-Woo Kim --- diff --git a/board/raspberrypi/rpi/tizen-boot.scr b/board/raspberrypi/rpi/tizen-boot.scr index 698a9e4..aabe27b 100644 --- a/board/raspberrypi/rpi/tizen-boot.scr +++ b/board/raspberrypi/rpi/tizen-boot.scr @@ -64,10 +64,9 @@ part start $bootdev $ramdiskdev $ramdiskpart ramdisk_start part size $bootdev $ramdiskdev $ramdiskpart ramdisk_size echo "Searching for kernel in"; for prefix in $boot_prefixes; do -if load $bootdev $mmcbootdev:$mmcbootpart $kernel_addr_r $kernel; then; +if load $bootdev $mmcbootdev:$mmcbootpart $kernel_addr_r $prefix$kernel; then; echo ${bootmode} "boot"; load $bootdev $mmcbootdev:$mmcbootpart $fdt_addr_r $fdtfile; - load $bootdev $mmcbootdev:$mmcbootpart $kernel_addr_r $prefix$kernel; if test -e mmc $mmcrootdev:$ramdiskpart sbin/init; then; echo "Loading Ramdisk from partition"${ramdiskpart}; mmc read $ramdisk_addr_r $ramdisk_start $ramdisk_size;