[U-Boot] [PATCH] beagleboard: add support for xM revision C
Jason Kridner
jkridner at beagleboard.org
Thu Aug 11 20:38:08 CEST 2011
On Thu, Aug 11, 2011 at 1:50 AM, Joel A Fernandes <agnel.joel at gmail.com> wrote:
> From: Koen Kooi <koen at dominion.thruhere.net>
>
>
> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> Signed-off-by: Joel A Fernandes <agnel.joel at gmail.com>
Acked-by: Jason Kridner <jkridner at beagleboard.org>
+ Sandeep and Khasim
> ---
> board/ti/beagle/beagle.c | 10 ++++++++++
> board/ti/beagle/beagle.h | 1 +
> 2 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
> index 15d061a..7768901 100644
> --- a/board/ti/beagle/beagle.c
> +++ b/board/ti/beagle/beagle.c
> @@ -216,6 +216,16 @@ int misc_init_r(void)
> TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
> TWL4030_PM_RECEIVER_DEV_GRP_P1);
> break;
> + case REVISION_XM_C:
> + printf("Beagle xM Rev C\n");
> + setenv("beaglerev", "xMC");
> + MUX_BEAGLE_XM();
> + /* Set VAUX2 to 1.8V for EHCI PHY */
> + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED,
> + TWL4030_PM_RECEIVER_VAUX2_VSEL_18,
> + TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
> + TWL4030_PM_RECEIVER_DEV_GRP_P1);
> + break;
> default:
> printf("Beagle unknown 0x%02x\n", get_board_revision());
> MUX_BEAGLE_XM();
> diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h
> index a7401b1..04247cd 100644
> --- a/board/ti/beagle/beagle.h
> +++ b/board/ti/beagle/beagle.h
> @@ -39,6 +39,7 @@ const omap3_sysinfo sysinfo = {
> #define REVISION_C4 0x5
> #define REVISION_XM_A 0x0
> #define REVISION_XM_B 0x1
> +#define REVISION_XM_C 0x2
>
> /*
> * IEN - Input Enable
> --
> 1.7.1
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
More information about the U-Boot
mailing list