[meta-freescale] [PATCH 04/60] u-boot-qoriq: fix indent

ting.liu at nxp.com ting.liu at nxp.com
Fri Jan 8 22:42:57 PST 2016


From: Ting Liu <ting.liu at nxp.com>

Signed-off-by: Ting Liu <ting.liu at nxp.com>>
---
 recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb | 38 +++++++++++++++---------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
index e86bc7c..56fd692 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb
@@ -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
 }
 
 
-- 
1.9.2



More information about the meta-freescale mailing list