projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f49ab
)
m68k: eliminate a warning in cpu_init
author
Masahiro Yamada
<yamada.m@jp.panasonic.com>
Wed, 16 Oct 2013 04:53:04 +0000
(13:53 +0900)
committer
Tom Rini
<trini@ti.com>
Thu, 19 Jun 2014 15:18:40 +0000
(11:18 -0400)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
arch/m68k/cpu/mcf5445x/cpu_init.c
patch
|
blob
|
history
diff --git
a/arch/m68k/cpu/mcf5445x/cpu_init.c
b/arch/m68k/cpu/mcf5445x/cpu_init.c
index 9c324dc968dfb3e24ca404349442618216c6a176..b4a8eefa94d9af90e3b8a7d37745f0ded520f8cd 100644
(file)
--- a/
arch/m68k/cpu/mcf5445x/cpu_init.c
+++ b/
arch/m68k/cpu/mcf5445x/cpu_init.c
@@
-364,9
+364,9
@@
void uart_port_conf(int port)
int fecpin_setclear(struct eth_device *dev, int setclear)
{
gpio_t *gpio = (gpio_t *) MMAP_GPIO;
+#ifdef CONFIG_MCF5445x
struct fec_info_s *info = (struct fec_info_s *)dev->priv;
-#ifdef CONFIG_MCF5445x
if (setclear) {
#ifdef CONFIG_SYS_FEC_NO_SHARED_PHY
if (info->iobase == CONFIG_SYS_FEC0_IOBASE)