summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-git/beagleboard/0023-beagleboard-display-message-about-I2C-errors-being-e.patch
blob: d7ac71317d6d3a7bd7d6eef92f1bbeb13b151a1c (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 4b07f3a9f045453e5e7b5950e721ed35d9bd308a 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 23/37] 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