[U-Boot] [PATCH v3 2/2] cosmetics: braces, comment and whitespace formatting Signed-off-by: Lothar Felten <lothar.felten at gmail.com>

Lothar Felten lothar.felten at gmail.com
Wed Jan 29 16:39:03 CET 2014


Signed-off-by: Lothar Felten <lothar.felten at gmail.com>
---
 board/silica/pengwyn/board.c |   10 +++++-----
 include/configs/pengwyn.h    |    6 ++----
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/board/silica/pengwyn/board.c b/board/silica/pengwyn/board.c
index d5dbd3b..97d7de4 100644
--- a/board/silica/pengwyn/board.c
+++ b/board/silica/pengwyn/board.c
@@ -77,11 +77,11 @@ const struct dpll_params dpll_ddr_400 = {
 
 void am33xx_spl_board_init(void)
 {
-	/* the pengwyn board uses the TPS650250 PMIC  without I2C */
-	/* interface and will output the following fixed voltages: */
-	/* DCDC1=3V3 (IO) DCDC2=1V5 (DDR) DCDC3=1V26 (Vmpu) */
-	/* VLDO1=1V8 (IO) VLDO2=1V8(IO) */
-	/* Vcore=1V1 is fixed, generated by TPS62231 */
+	/* The pengwyn board uses the TPS650250 PMIC  without I2C
+	 * interface and will output the following fixed voltages:
+	 * DCDC1=3V3 (IO) DCDC2=1V5 (DDR) DCDC3=1V26 (Vmpu)
+	 * VLDO1=1V8 (IO) VLDO2=1V8(IO)
+	 * Vcore=1V1 is fixed, generated by TPS62231 */
 
 	/* Get the frequency */
 	dpll_mpu_opp100.m = am335x_get_efuse_mpu_max_freq(cdev);
diff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h
index 7a41151..f35cee6 100644
--- a/include/configs/pengwyn.h
+++ b/include/configs/pengwyn.h
@@ -19,10 +19,10 @@
 
 /* Clock Defines */
 #define V_OSCK				24000000
-#define V_SCLK				(V_OSCK)
+#define V_SCLK				V_OSCK
 
 /* set env size */
-#define CONFIG_ENV_SIZE			(0x4000)
+#define CONFIG_ENV_SIZE			0x4000
 
 #ifdef CONFIG_NAND
 #define NANDARGS \
@@ -179,8 +179,6 @@
 #define CONFIG_SPL_POWER_SUPPORT
 #define CONFIG_SPL_YMODEM_SUPPORT
 
-
-
 /* General network SPL, both CPSW and USB gadget RNDIS */
 #define CONFIG_SPL_NET_SUPPORT
 #define CONFIG_SPL_ENV_SUPPORT
-- 
1.7.9.5



More information about the U-Boot mailing list