]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/lib_powerpc/three.c
Coding Style cleanup: replace leading SPACEs by TABs
[karo-tx-uboot.git] / post / lib_powerpc / three.c
index 7f8c1e2b8644c04c2ea2b0b8ea04e08bfc2271cd..c3e7f681ab100fd3d00f6a037edc44619253b4e1 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2002
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -155,8 +139,7 @@ static struct cpu_post_three_s
        0x40
     },
 };
-static unsigned int cpu_post_three_size =
-    sizeof (cpu_post_three_table) / sizeof (struct cpu_post_three_s);
+static unsigned int cpu_post_three_size = ARRAY_SIZE(cpu_post_three_table);
 
 int cpu_post_test_three (void)
 {
@@ -228,7 +211,7 @@ int cpu_post_test_three (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at three test %d !\n", i);
+                   post_log ("Error at three test %d !\n", i);
                }
            }
 
@@ -241,8 +224,8 @@ int cpu_post_test_three (void)
 
                if (ret != 0)
                {
-                   post_log ("Error at three test %d !\n", i);
-               }
+                   post_log ("Error at three test %d !\n", i);
+               }
            }
        }
     }