linux-ti33x-psp 3.2: LCD7 A3 support, eMMC cape support, camera cape improvements
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-ti33x-psp-3.2 / beaglebone / 0083-beaglebone-add-extra-partnumber-for-camera-cape.patch
1 From b9d6ae7ba8604c3c8ce64c53073990a831611414 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Thu, 26 Jul 2012 22:31:30 +0200
4 Subject: [PATCH 83/84] beaglebone: add extra partnumber for camera cape
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 579df6c..3b6f354 100644
13 --- a/arch/arm/mach-omap2/board-am335xevm.c
14 +++ b/arch/arm/mach-omap2/board-am335xevm.c
15 @@ -3158,7 +3158,7 @@ static void beaglebone_cape_setup(struct memory_accessor *mem_acc, void *context
16                 tt3201_init(0,0);
17         }
18  
19 -       if (!strncmp("BB-BONE-CAM-01", cape_config.partnumber, 14)) {
20 +       if (!strncmp("BB-BONE-CAM-01", cape_config.partnumber, 14) || !strncmp("BB-BONE-CAM3-01", cape_config.partnumber, 15)) {
21                 pr_info("BeagleBone cape: recognized Camera cape\n");
22                 beaglebone_w1gpio_free = 0;
23                 cssp_gpmc_init();
24 -- 
25 1.7.7.6