diff mbox series

[U-Boot,RESEND,v2,3/4] common: board_f: Fix style violations

Message ID 20180115101002.20962-1-mario.six@gdsys.cc
State Accepted
Delegated to: Tom Rini
Headers show
Series None | expand

Commit Message

Mario Six Jan. 15, 2018, 10:10 a.m. UTC
Fix some style violations in the board_f file.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
---

v1 -> v2:
None

---
 common/board_f.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.11.0

Comments

Tom Rini Jan. 28, 2018, 6:52 p.m. UTC | #1
On Mon, Jan 15, 2018 at 11:10:02AM +0100, Mario Six wrote:

> Fix some style violations in the board_f file.
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Mario Six <mario.six@gdsys.cc>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/common/board_f.c b/common/board_f.c
index e46eceda7d..df589fd570 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -49,7 +49,7 @@ 
 #ifdef XTRN_DECLARE_GLOBAL_DATA_PTR
 #undef	XTRN_DECLARE_GLOBAL_DATA_PTR
 #define XTRN_DECLARE_GLOBAL_DATA_PTR	/* empty = allocate here */
-DECLARE_GLOBAL_DATA_PTR = (gd_t *) (CONFIG_SYS_INIT_GD_ADDR);
+DECLARE_GLOBAL_DATA_PTR = (gd_t *)(CONFIG_SYS_INIT_GD_ADDR);
 #else
 DECLARE_GLOBAL_DATA_PTR;
 #endif
@@ -136,7 +136,7 @@  static int display_text_info(void)
 #endif

 	debug("U-Boot code: %08lX -> %08lX  BSS: -> %08lX\n",
-		text_base, bss_start, bss_end);
+	      text_base, bss_start, bss_end);
 #endif

 	return 0;
@@ -413,7 +413,7 @@  static int reserve_malloc(void)
 {
 	gd->start_addr_sp = gd->start_addr_sp - TOTAL_MALLOC_LEN;
 	debug("Reserving %dk for malloc() at: %08lx\n",
-			TOTAL_MALLOC_LEN >> 10, gd->start_addr_sp);
+	      TOTAL_MALLOC_LEN >> 10, gd->start_addr_sp);
 	return 0;
 }

@@ -443,7 +443,7 @@  static int reserve_global_data(void)
 	gd->start_addr_sp -= sizeof(gd_t);
 	gd->new_gd = (gd_t *)map_sysmem(gd->start_addr_sp, sizeof(gd_t));
 	debug("Reserving %zu Bytes for Global Data at: %08lx\n",
-			sizeof(gd_t), gd->start_addr_sp);
+	      sizeof(gd_t), gd->start_addr_sp);
 	return 0;
 }