From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] powerpc: mpc85xx: Add dummy gpio.h to enable CONFIG_OF_CONTROL
Date: Thu, 22 Jan 2015 18:25:11 -0600 [thread overview]
Message-ID: <54C194E7.30603@freescale.com> (raw)
In-Reply-To: <1418192570-4057-1-git-send-email-ruchika.gupta@freescale.com>
On 12/10/2014 12:22 AM, Ruchika Gupta wrote:
> If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
> It includes <asm/gpio.h> and then <asm/gpio.h> includes
> <asm/arch/gpio.h>. As a result, all the SoCs that enable
> CONFIG_OF_CONTROL must have <asm/arch/gpio.h>.
>
> The right fix would be to split the lib/fdtdec.c to remove
> dependency on GPIO.
>
> This commit adds a dummy <asm/arch/gpio.h> to support OF_CONTROL
> for mpc85xx platform. A file mpc85xx_gpio.h exists in
> arch/powerpc/include/asm. The defintions in that file conflict
> with the ones in asm-generic/gpio.h. Hence a dummy header file
> has been added. This will be removed after FDT-GPIO stuff is
> fixed correctly.
>
> Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com>
> ---
Applied to u-boot-mpc85xx master branch, awaiting upstream.
York
prev parent reply other threads:[~2015-01-23 0:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-10 6:22 [U-Boot] [PATCH 2/2] powerpc: mpc85xx: Add dummy gpio.h to enable CONFIG_OF_CONTROL Ruchika Gupta
2015-01-23 0:25 ` York Sun [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=54C194E7.30603@freescale.com \
--to=yorksun@freescale.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox