diff options
author | Koen Kooi <koen@openembedded.org> | 2010-06-04 16:44:25 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-06-04 16:48:51 +0200 |
commit | c3d41d503c5439e6043bb0b17a4adb038a4a7b3a (patch) | |
tree | 5f4b1d5a31295bd779122e561f9f071ee8984388 /recipes/u-boot/u-boot-git/beagleboard | |
parent | 1b3d1b48d2552ed94b88611cc3ef2e8636e9de17 (diff) |
u-boot git: update beagleboard patches
Diffstat (limited to 'recipes/u-boot/u-boot-git/beagleboard')
-rw-r--r-- | recipes/u-boot/u-boot-git/beagleboard/0039-OMAP3-beagle-setenv-beaglerev-for-AxBx-Cx-xMA-for-be.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-git/beagleboard/0039-OMAP3-beagle-setenv-beaglerev-for-AxBx-Cx-xMA-for-be.patch b/recipes/u-boot/u-boot-git/beagleboard/0039-OMAP3-beagle-setenv-beaglerev-for-AxBx-Cx-xMA-for-be.patch new file mode 100644 index 0000000000..9b64327d3a --- /dev/null +++ b/recipes/u-boot/u-boot-git/beagleboard/0039-OMAP3-beagle-setenv-beaglerev-for-AxBx-Cx-xMA-for-be.patch @@ -0,0 +1,42 @@ +From c48581ecc0b060e4c1b5fa973d053e81e18f676b Mon Sep 17 00:00:00 2001 +From: Koen Kooi <koen@dominion.thruhere.net> +Date: Thu, 3 Jun 2010 19:50:57 +0200 +Subject: [PATCH 39/39] OMAP3: beagle: setenv beaglerev for AxBx/Cx/xMA for better bootscripts + +--- + board/ti/beagle/beagle.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c +index 556e995..cdba3dd 100644 +--- a/board/ti/beagle/beagle.c ++++ b/board/ti/beagle/beagle.c +@@ -221,14 +221,17 @@ int misc_init_r(void) + case REVISION_AXBX: + printf("Beagle Rev Ax/Bx\n"); + setenv("mpurate", "600"); ++ setenv("beaglerev", "AxBx"); + break; + case REVISION_CX: + printf("Beagle Rev C1/C2/C3\n"); + MUX_BEAGLE_C(); + setenv("mpurate", "600"); ++ setenv("beaglerev", "Cx"); + break; + case REVISION_C4: + printf("Beagle Rev C4\n"); ++ setenv("beaglerev", "Cx"); + MUX_BEAGLE_C(); + /* Set VAUX2 to 1.8V for EHCI PHY */ + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED, +@@ -239,6 +242,7 @@ int misc_init_r(void) + break; + case REVISION_XM: + printf("Beagle xM Rev A\n"); ++ setenv("beaglerev", "xMA"); + MUX_BEAGLE_XM(); + /* Set VAUX2 to 1.8V for EHCI PHY */ + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED, +-- +1.6.6.1 + |