summaryrefslogtreecommitdiff
path: root/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
diff options
context:
space:
mode:
authorjkridner@beagleboard.org <jkridner@beagleboard.org>2010-08-05 09:03:37 +0000
committerKoen Kooi <koen@openembedded.org>2010-08-05 21:31:23 +0200
commitf2636a6278709f20f0d6be82373b309023b36f30 (patch)
treef2aa819240dfd9711056732765612368c31f95e6 /recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
parent21df95a924ad106d7062f51431d094a49dbe1174 (diff)
u-boot: beagleboard: default 3MP camera support
This turns on the pull-ups so that the I2C will work by default as well as sets the default camera type. Currently, the kernel cannot probe for I2C devices, but that should be the long term fix. We put the change here into the default environment, instead of the boot.scr, such that there won't be a need to update your boot.scr in the future for the default camera if we ever get the kernel fixed to probe for I2C devcies. Signed-off-by: Jason Kridner <jkridner@beagleboard.org> Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch')
-rw-r--r--recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch b/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
new file mode 100644
index 0000000000..f999f7faa9
--- /dev/null
+++ b/recipes/u-boot/u-boot-git/beagleboard/0046-BeagleBoard-Add-camera-to-default-bootargs.patch
@@ -0,0 +1,50 @@
+From 519ecc8a8f441d30e55c7e4552c63e2363fa6dd5 Mon Sep 17 00:00:00 2001
+From: Jason Kridner <jkridner@beagleboard.org>
+Date: Thu, 5 Aug 2010 13:54:12 -0500
+Subject: [PATCH] BeagleBoard: Add camera to default bootargs
+
+
+Signed-off-by: Jason Kridner <jkridner@beagleboard.org>
+---
+ include/configs/omap3_beagle.h | 4 ++++
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
+index 1a76004..48ad805 100644
+--- a/include/configs/omap3_beagle.h
++++ b/include/configs/omap3_beagle.h
+@@ -208,6 +208,7 @@
+ "bootscr=boot.scr\0" \
+ "mpurate=500\0" \
+ "buddy=none\0" \
++ "camera=lbcm3m1\0" \
+ "vram=12M\0" \
+ "dvimode=640x480MR-16@60\0" \
+ "defaultdisplay=dvi\0" \
+@@ -222,6 +223,7 @@
+ "${optargs} " \
+ "mpurate=${mpurate} " \
+ "buddy=${buddy} "\
++ "camera=${camera} "\
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapdss.def_disp=${defaultdisplay} " \
+@@ -231,6 +233,7 @@
+ "${optargs} " \
+ "mpurate=${mpurate} " \
+ "buddy=${buddy} "\
++ "camera=${camera} "\
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapdss.def_disp=${defaultdisplay} " \
+@@ -241,6 +244,7 @@
+ "${optargs} " \
+ "mpurate=${mpurate} " \
+ "buddy=${buddy} "\
++ "camera=${camera} "\
+ "vram=${vram} " \
+ "omapfb.mode=dvi:${dvimode} " \
+ "omapdss.def_disp=${defaultdisplay} " \
+--
+1.5.6.4
+