summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-git/beagleboard/0001-beagleboard-display-message-about-I2C-errors-being-e.patch
blob: 10e3412bcd12e6d0bc064c377625188eed46ef9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From f62aac5842779fbc5a62ade1c78d47244d565456 Mon Sep 17 00:00:00 2001
From: Koen Kooi <koen@dominion.thruhere.net>
Date: Wed, 31 Mar 2010 14:24:25 +0200
Subject: [PATCH 01/12] beagleboard: display message about I2C errors being expected when no expansion boards are present

---
 board/ti/beagle/beagle.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
index 8c5b88c..c9c9a58 100644
--- a/board/ti/beagle/beagle.c
+++ b/board/ti/beagle/beagle.c
@@ -150,6 +150,9 @@ int misc_init_r(void)
 	struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE;
 
 	beagle_identify();
+
+	printf("\nProbing for expansion boards, if none are connected you'll see a harmless I2C error.\n");
+
 	switch (get_expansion_id()) {
 		case TINCANTOOLS_ZIPPY:
 			printf("Recognized Tincantools Zippy expansion board (rev %d %s)\n",
-- 
1.6.6.1