Patchwork [U-Boot] arm: omap3: cm-t35: minor comment and printf change

login
register
mail settings
Submitter Igor Grinberg
Date June 14, 2012, 5:41 a.m.
Message ID <1339652500-3182-1-git-send-email-grinberg@compulab.co.il>
Download mbox | patch
Permalink /patch/164846/
State Accepted
Commit 64f10847a28421f7093ef6876b58a4cccc4dd2c9
Delegated to: Tom Rini
Headers show

Comments

Igor Grinberg - June 14, 2012, 5:41 a.m.
Fix the comment to reflect the actual function call time.
Change the printf message to look nicer in the context it might be printed.

Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
---
 board/cm_t35/cm_t35.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Tom Rini - June 21, 2012, 5:23 p.m.
On Thu, Jun 14, 2012 at 08:41:40AM +0300, Igor Grinberg wrote:

> Fix the comment to reflect the actual function call time.
> Change the printf message to look nicer in the context it might be printed.
> 
> Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>

Pushed to u-boot-ti/next, thanks!

Patch

diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c
index 995dd41..6a090e0 100644
--- a/board/cm_t35/cm_t35.c
+++ b/board/cm_t35/cm_t35.c
@@ -74,7 +74,7 @@  static u32 gpmc_nand_config[GPMC_MAX_REG] = {
 
 /*
  * Routine: board_init
- * Description: Early hardware init.
+ * Description: hardware init.
  */
 int board_init(void)
 {
@@ -438,7 +438,7 @@  int board_eth_init(bd_t *bis)
 
 	rc1 = handle_mac_address();
 	if (rc1)
-		printf("CM-T3x: No MAC address found\n");
+		printf("No MAC address found! ");
 
 	rc1 = smc911x_initialize(0, CM_T3X_SMC911X_BASE);
 	if (rc1 > 0)