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 / 0036-beaglebone-update-LCD-cape-partnumber.patch
1 From 4089ed795fc26961e0e0ece07af2c628b96321de Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Wed, 25 Jan 2012 17:18:43 +0100
4 Subject: [PATCH 36/36] beaglebone: update LCD 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 1b398c7..6a0ace9 100644
13 --- a/arch/arm/mach-omap2/board-am335xevm.c
14 +++ b/arch/arm/mach-omap2/board-am335xevm.c
15 @@ -1356,7 +1356,7 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
16                         pr_info("BeagleBone cape: initializing DVI cape\n");
17                         dvi_init(0,0);
18         }
19 -       if (!strncmp("LCD01", cape_config.partnumber, 5)) {
20 +       if (!strncmp("BB-BONE-LCD7-01", cape_config.partnumber, 5)) {
21                 pr_info("BeagleBone cape: initializing LCD cape\n");
22                 bbtoys7lcd_init(0,0);
23                 pr_info("BeagleBone cape: initializing LCD cape touchscreen\n");
24 -- 
25 1.7.7.5