]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-qoriq: fix indent
authorTing Liu <ting.liu@nxp.com>
Sat, 9 Jan 2016 06:42:57 +0000 (14:42 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 19 Apr 2016 18:03:22 +0000 (15:03 -0300)
Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb

index e86bc7ce75359cb2bc531019d7e1bacdd26d70eb..56fd692ffded0816aebc690fff4a7fc103c069c3 100644 (file)
@@ -92,26 +92,26 @@ do_compile_append_qoriq-ppc() {
 }
 
 do_compile_append_qoriq-arm () {
-unset i j                                                                                                                       
+    unset i j
     if [ "x${UBOOT_CONFIG}" != "x" ]; then
-         for config in ${UBOOT_MACHINE}; do
-             i=`expr $i + 1`;
-             for type in ${UBOOT_CONFIG}; do
-                 j=`expr $j + 1`;
-                 if [ $j -eq $i ]; then
-                     case "${config}" in
-                         *nand* | *sdcard*)
-                             cp ${config}/u-boot-with-spl-pbl.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
-                         *spi*) 
-                             tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${config}/u-boot-dtb.bin ${config}/u-boot.swap.bin 8
-                             cp ${config}/u-boot.swap.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
-                     esac
-                 fi
-             done
-             unset j
-         done
-         unset i
-     fi
+        for config in ${UBOOT_MACHINE}; do
+            i=`expr $i + 1`;
+            for type in ${UBOOT_CONFIG}; do
+                j=`expr $j + 1`;
+                if [ $j -eq $i ]; then
+                    case "${config}" in
+                        *nand* | *sdcard*)
+                            cp ${config}/u-boot-with-spl-pbl.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
+                        *spi*) 
+                            tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${config}/u-boot-dtb.bin ${config}/u-boot.swap.bin 8
+                            cp ${config}/u-boot.swap.bin ${config}/u-boot-${type}.${UBOOT_SUFFIX};;
+                    esac
+                fi
+            done
+            unset j
+        done
+        unset i
+    fi
 }