[U-Boot] [PATCH] arm: Clean up/standardize contents of ARM's u-boot.h

Robert P. J. Day rpjday at crashcourse.ca
Sat Feb 2 13:35:35 CET 2013


Tidy up indentation, and use what appears to be the standard of
"unsigned long" rather than "ulong" in u-boot.h files.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  should be no functional change here, just aesthetics.

diff --git a/arch/arm/include/asm/u-boot.h b/arch/arm/include/asm/u-boot.h
index 2ba98bc..5b15781 100644
--- a/arch/arm/include/asm/u-boot.h
+++ b/arch/arm/include/asm/u-boot.h
@@ -38,16 +38,16 @@

 typedef struct bd_info {
 	unsigned int	bi_baudrate;	/* serial console baudrate */
-    ulong	        bi_arch_number;	/* unique id for this board */
-    ulong	        bi_boot_params;	/* where this board expects params */
-	unsigned long	bi_arm_freq; /* arm frequency */
-	unsigned long	bi_dsp_freq; /* dsp core frequency */
-	unsigned long	bi_ddr_freq; /* ddr frequency */
-    struct				/* RAM configuration */
-    {
-	ulong start;
-	ulong size;
-    }			bi_dram[CONFIG_NR_DRAM_BANKS];
+	unsigned long	bi_arch_number;	/* unique id for this board */
+	unsigned long	bi_boot_params;	/* where this board expects params */
+	unsigned long	bi_arm_freq;	/* arm frequency */
+	unsigned long	bi_dsp_freq;	/* dsp core frequency */
+	unsigned long	bi_ddr_freq;	/* ddr frequency */
+	struct				/* RAM configuration */
+	{
+		unsigned long start;
+		unsigned long size;
+	} bi_dram[CONFIG_NR_DRAM_BANKS];
 } bd_t;

 /* For image.h:image_check_target_arch() */


rday
-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the U-Boot mailing list