All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francisco Alecrim <francisco.alecrim@indt.org.br>
To: ext Steve Sakoman <sakoman@gmail.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH 1/1] Add MMC support for OMAP3 EVM
Date: Mon, 28 Apr 2008 12:21:13 +0300	[thread overview]
Message-ID: <48159709.7000507@indt.org.br> (raw)
In-Reply-To: <5e088bd90804262305l6f483aa3y4528cdd3a739725f@mail.gmail.com>

ext Steve Sakoman wrote:
> From: Steve Sakoman <steve@sakoman.com>
>
> Add MMC support for OMAP3 EVM
>
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>   
Acked-by: Francisco Alecrim <francisco.alecrim@indt.org.br>

I did not test, but it should work. :)
> ---
>  Makefile         |    3 ++-
>  board-omap3evm.c |   10 ++++++++++
>  2 files changed, 12 insertions(+), 1 deletion(-)
> diff -uprN a/arch/arm/mach-omap2/board-omap3evm.c
> b/arch/arm/mach-omap2/board-omap3evm.c
> --- a/arch/arm/mach-omap2/board-omap3evm.c	2008-04-26 06:32:12.000000000 -0700
> +++ b/arch/arm/mach-omap2/board-omap3evm.c	2008-04-26 22:17:03.000000000 -0700
> @@ -27,6 +27,7 @@
>
>  #include <asm/arch/gpio.h>
>  #include <asm/arch/board.h>
> +#include <asm/arch/hsmmc.h>
>  #include <asm/arch/common.h>
>
>  static struct omap_uart_config omap3_evm_uart_config __initdata = {
> @@ -40,6 +41,13 @@ static int __init omap3_evm_i2c_init(voi
>  	omap_register_i2c_bus(3, 400, NULL, 0);
>  	return 0;
>  }
> +
> +static struct omap_mmc_config omap3_evm_mmc_config __initdata = {
> +	.mmc [0] = {
> +		.enabled        = 1,
> +		.wire4          = 1,
> +	},
> +};
>
>  static void __init omap3_evm_init_irq(void)
>  {
> @@ -50,6 +58,7 @@ static void __init omap3_evm_init_irq(vo
>
>  static struct omap_board_config_kernel omap3_evm_config[] __initdata = {
>  	{ OMAP_TAG_UART,	&omap3_evm_uart_config },
> +	{ OMAP_TAG_MMC,		&omap3_evm_mmc_config },
>  };
>
>  static void __init omap3_evm_init(void)
> @@ -57,6 +66,7 @@ static void __init omap3_evm_init(void)
>  	omap_board_config = omap3_evm_config;
>  	omap_board_config_size = ARRAY_SIZE(omap3_evm_config);
>  	omap_serial_init();
> +	hsmmc_init();
>  }
>
>  arch_initcall(omap3_evm_i2c_init);
> diff -uprN a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile
> --- a/arch/arm/mach-omap2/Makefile	2008-04-26 06:32:12.000000000 -0700
> +++ b/arch/arm/mach-omap2/Makefile	2008-04-26 22:17:03.000000000 -0700
> @@ -37,7 +37,8 @@ obj-$(CONFIG_MACH_OMAP_3430SDP)		+= boar
>  					   usb-musb.o \
>  					   usb-ehci.o \
>  					   board-3430sdp-flash.o
> -obj-$(CONFIG_MACH_OMAP3EVM)		+= board-omap3evm.o
> +obj-$(CONFIG_MACH_OMAP3EVM)		+= board-omap3evm.o \
> +					   hsmmc.o
>  obj-$(CONFIG_MACH_OMAP3_BEAGLE)		+= board-omap3beagle.o \
>  					   usb-musb.o usb-ehci.o \
>  					   hsmmc.o
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>   


-- 
Francisco Keppler Silva Alecrim - INdT
Phone: +55 92 2126-1017


      reply	other threads:[~2008-04-28  9:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-27  6:05 [PATCH 1/1] Add MMC support for OMAP3 EVM Steve Sakoman
2008-04-28  9:21 ` Francisco Alecrim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48159709.7000507@indt.org.br \
    --to=francisco.alecrim@indt.org.br \
    --cc=linux-omap@vger.kernel.org \
    --cc=sakoman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.