linux-ti335x-psp 3.1: enable support for beaglebone cape EEPROM based detection
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.1 / 0033-beaglebone-update-DVI-cape-partnumber.patch
1 From 0ddfbfd5d5b6fdf84b9ea174e39b872cacaa8be5 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Wed, 25 Jan 2012 09:56:14 +0100
4 Subject: [PATCH 33/35] beaglebone: update DVI cape partnumber
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-am335xevm.c |    2 +-
9  1 files changed, 1 insertions(+), 1 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-am335xevm.c b/arch/arm/mach-omap2/board-am335xevm.c
12 index 6c19334..7c91ff8 100644
13 --- a/arch/arm/mach-omap2/board-am335xevm.c
14 +++ b/arch/arm/mach-omap2/board-am335xevm.c
15 @@ -1299,7 +1299,7 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
16         snprintf(tmp, sizeof(cape_config.partnumber) + 1, "%s", cape_config.partnumber);
17         pr_info("BeagleBone cape partnumber: %s\n", tmp);   
18  
19 -       if (!strncmp("DVI01", cape_config.partnumber, 5)) {
20 +       if (!strncmp("BB-BONE-DVID-01", cape_config.partnumber, 5)) {
21                         pr_info("BeagleBone cape: initializing DVI cape\n");
22                         dvi_init(0,0);
23         }
24 -- 
25 1.7.2.5