All of lore.kernel.org
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform
Date: Tue, 25 Oct 2011 08:15:32 +0200	[thread overview]
Message-ID: <4EA65404.9080408@aribaud.net> (raw)
In-Reply-To: <CALZhoSR_jco_Ps5DxM8vtPk9eXCqoCPM0FiBDRat0uRHhw9qog@mail.gmail.com>

Hi Lei Wen,

Le 25/10/2011 03:21, Lei Wen a ?crit :
> Hi Albert,
>
> On Tue, Oct 25, 2011 at 1:20 AM, Albert ARIBAUD
> <albert.u.boot@aribaud.net>  wrote:
>> Hi Lei Wen,
>>
>> Le 04/10/2011 08:33, Lei Wen a ?crit :
>>> This patch seris add the mmc support for the pantheon platform.
>>> Also give platform like dkb and aspenite a workaround when enabling
>>> the 8bit mode for accessing the mmc.
>>>
>>> Changelog:
>>> V2: remove magic number, and replace it by macro definition and structure
>>>        respectively.
>>>       remove enable mmc function into seperated patch
>>>
>>> Lei Wen (4):
>>>     ARM: pantheon: add mmc definition
>>>     Marvell: dkb: add mmc support
>>>     dkb: make mmc command as default enabled
>>>     mmc: mv_sdhci: fix 8bus width access for 88SV331xV5
>>
>> This causes a lot of build errors on dkb with ELDK42:
>>
>> Configuring for dkb board...
>> In file included from mv_sdhci.c:3:
>> /home/uboot/src/u-boot-arm/include/sdhci.h:224: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h:224: warning: its scope is
>> only this definition or declaration, which is probably not what you want
>> /home/uboot/src/u-boot-arm/include/sdhci.h:225: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h:226: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h:227: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h:228: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h:229: warning: 'struct
>> sdhci_host' declared inside parameter list
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_writel':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:247: warning: passing
>> argument 1 of 'host->ops->write_l' from incompatible pointer type
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_writew':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:255: warning: passing
>> argument 1 of 'host->ops->write_w' from incompatible pointer type
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_writeb':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:263: warning: passing
>> argument 1 of 'host->ops->write_b' from incompatible pointer type
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_readl':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:271: warning: passing
>> argument 1 of 'host->ops->read_l' from incompatible pointer type
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_readw':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:279: warning: passing
>> argument 1 of 'host->ops->read_w' from incompatible pointer type
>> /home/uboot/src/u-boot-arm/include/sdhci.h: In function 'sdhci_readb':
>> /home/uboot/src/u-boot-arm/include/sdhci.h:287: warning: passing
>> argument 1 of 'host->ops->read_b' from incompatible pointer type
>> mv_sdhci.c: In function 'mv_sdhci_writeb':
>> mv_sdhci.c:14: error: 'struct sdhci_host' has no member named 'mmc'
>> mv_sdhci.c:17: warning: implicit declaration of function 'IS_SD'
>> mv_sdhci.c:18: error: dereferencing pointer to incomplete type
>> mv_sdhci.c: In function 'mv_sdh_init':
>> mv_sdhci.c:48: warning: assignment from incompatible pointer type
>>
>
> Actually, I have post another fixing series before this, so if it got
> be applied before this merged,
> the warning would be disappeared.
>
> You could refer to:
> http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/111621

Thanks for the pointer -- please next time indicate the dependency on 
any patch set not yet applied at the time.

> Best regards,
> Lei

Amicalement,
-- 
Albert.

  reply	other threads:[~2011-10-25  6:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-03  9:02 [U-Boot] [PATCH 0/3] add mmc support for pantheon platform Lei Wen
2011-10-03  9:02 ` [U-Boot] [PATCH 1/3] ARM: pantheon: add mmc definition Lei Wen
2011-10-03  9:02 ` [U-Boot] [PATCH 2/3] Marvell: dkb: add mmc support Lei Wen
2011-10-03 10:44   ` Marek Vasut
2011-10-03 11:43     ` Lei Wen
2011-10-03  9:02 ` [U-Boot] [PATCH 3/3] mmc: mv_sdhci: fix 8bus width access for 88SV331xV5 Lei Wen
2011-10-04  6:33 ` [U-Boot] [PATCH V2 0/4] add mmc support for pantheon platform Lei Wen
2011-10-24 17:20   ` Albert ARIBAUD
2011-10-25  1:21     ` Lei Wen
2011-10-25  6:15       ` Albert ARIBAUD [this message]
2011-10-25  6:25         ` Albert ARIBAUD
2011-10-31 14:57           ` Lei Wen
2011-10-25  7:38       ` Wolfgang Denk
2011-10-25  9:02         ` Lei Wen
2011-10-25 18:51           ` Wolfgang Denk
2011-10-26  2:19             ` Lei Wen
2011-10-04  6:33 ` [U-Boot] [PATCH V2 1/4] ARM: pantheon: add mmc definition Lei Wen
2011-10-04  6:33 ` [U-Boot] [PATCH V2 2/4] Marvell: dkb: add mmc support Lei Wen
2011-10-04  6:33 ` [U-Boot] [PATCH V2 3/4] dkb: make mmc command as default enabled Lei Wen
2011-10-04  6:33 ` [U-Boot] [PATCH V2 4/4] mmc: mv_sdhci: fix 8bus width access for 88SV331xV5 Lei Wen

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=4EA65404.9080408@aribaud.net \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /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.