public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Madhusudhan Chikkature" <madhu.cr@ti.com>
To: David Brownell <david-b@pacbell.net>, tony@atomide.com
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH]Add 3430 SDP board level support for HSMMC2
Date: Wed, 13 Aug 2008 14:57:28 +0530	[thread overview]
Message-ID: <00cf01c8fd26$cfc751b0$LocalHost@wipultra1303> (raw)
In-Reply-To: 20080813085433.D5C2F363253@adsl-69-226-248-13.dsl.pltn13.pacbell.net


----- Original Message ----- 
From: "David Brownell" <david-b@pacbell.net>
To: <tony@atomide.com>; <madhu.cr@ti.com>
Cc: <linux-omap@vger.kernel.org>
Sent: Wednesday, August 13, 2008 2:24 PM
Subject: Re: [PATCH]Add 3430 SDP board level support for HSMMC2


>>  arch/arm/mach-omap2/board-3430sdp.c |    4
>>  arch/arm/mach-omap2/hsmmc.c         |  185 ++++++++++++++++++++++++++++++++
> 
> hsmmc.c is used by Beagle too, yet ...
> 
> 
>>  void __init hsmmc_init(void)
>>  {
>>  omap_set_mmc_info(1, &hsmmc_data);
>> + omap_set_mmc_info(2, &hsmmc2_data);
>>  }
> 
> ... MMC2 is rarely enabled on Beagle, so this is incorrect.
There is an another level of abstraction at the board level files like board-3430sdp.c,board-omap3beagle.c, board-omap3evm.c..
I see that the beagle board file does not enable hsmmc2. So the platform device for the second controller is not registered anyway.

> 
> 
> A better way to do this would be to let the boards say exactly
> what the hardware configuration is, rather than requiring all
> OMAP3 boards to be set up exactly like the SDP...
I think the initial version was written specific to SDP. Later on it was changed to hsmmc.c and the platforms 
which required simillar setup as SDP started using it. Now, if support for a new board is required which is unlike SDP a
new file can still be added for that perticular board, right?

Regards,
Madhu
> 
> - Dave
> 
> 
>

  reply	other threads:[~2008-08-13  9:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-13  6:18 [PATCH]Add 3430 SDP board level support for HSMMC2 Madhusudhan Chikkature
2008-08-13  8:54 ` David Brownell
2008-08-13  9:27   ` Madhusudhan Chikkature [this message]
2008-09-08 19:26     ` David Brownell
2008-09-10 23:59       ` Tony Lindgren
2008-09-16  5:15         ` Madhusudhan Chikkature
2008-09-16 15:12           ` Tony Lindgren

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='00cf01c8fd26$cfc751b0$LocalHost@wipultra1303' \
    --to=madhu.cr@ti.com \
    --cc=david-b@pacbell.net \
    --cc=linux-omap@vger.kernel.org \
    --cc=tony@atomide.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox