From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/mpc85xx: Fix compiling error for common/cmd_gpio.c
Date: Tue, 5 May 2015 09:41:34 -0700 [thread overview]
Message-ID: <5548F2BE.4060206@freescale.com> (raw)
In-Reply-To: <1430243990-19391-1-git-send-email-oleks@arcturusnetworks.com>
On 04/28/2015 10:59 AM, Oleksandr G Zhadan wrote:
> To replicate:
> 1. add to include/configs/p1_p2_rdb_pc.h "#define CONFIG_CMD_GPIO"
> 2. run `make P1020RDB-PC_defconfig`
> 3. run CROSS_COMPILE=powerpc-linux- make
>
> and you will get:
> common/built-in.o: In function `do_gpio':
> u-boot/common/cmd_gpio.c:186: undefined reference to `gpio_request'
> u-boot/common/cmd_gpio.c:194: undefined reference to `gpio_direction_input'
> u-boot/common/cmd_gpio.c:195: undefined reference to `gpio_get_value'
> u-boot/common/cmd_gpio.c:200: undefined reference to `gpio_get_value'
> u-boot/common/cmd_gpio.c:203: undefined reference to `gpio_direction_output'
> u-boot/common/cmd_gpio.c:209: undefined reference to `gpio_free
>
> Signed-off-by: Michael Durrant <mdurrant@arcturusnetworks.com>
> Signed-off-by: Oleksandr G Zhadan <oleks@arcturusnetworks.com>
> ---
>
> arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 ++
> arch/powerpc/include/asm/mpc85xx_gpio.h | 6 ++++--
> 2 files changed, 6 insertions(+), 2 deletions(-)
>
Applied to u-boot-mpc85xx master. Awaiting upstream.
York
prev parent reply other threads:[~2015-05-05 16:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-28 17:59 [U-Boot] [PATCH] powerpc/mpc85xx: Fix compiling error for common/cmd_gpio.c Oleksandr G Zhadan
2015-05-05 16:41 ` 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=5548F2BE.4060206@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