From: Peter Tyser <ptyser@xes-inc.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] 83xx: UEC: Added support for bitBang MII driver access to PHYs
Date: Wed, 01 Jul 2009 14:25:43 -0500 [thread overview]
Message-ID: <1246476343.19741.21.camel@localhost.localdomain> (raw)
In-Reply-To: <4A4BA550.5030400@RuggedCom.com>
Hi Richard,
> -#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM))
> - volatile ioport_t *iop = ioport_addr ((immap_t *) CONFIG_SYS_IMMR, MDIO_PORT);
> +#if !(defined(CONFIG_EP8248) || defined(CONFIG_EP82XXM)) \
> + && !defined(CONFIG_MPC83XX)
> + volatile gpio_n_t *iop = ioport_addr ((immap_t *) CONFIG_SYS_IMMR, MDIO_PORT);
> +#elif defined(CONFIG_MPC83XX)
> + volatile immap_t *im = (volatile immap_t *)CONFIG_SYS_IMMR;
> + volatile qepio83xx_t *par_io = (volatile qepio83xx_t *)&im->qepio;
> + volatile gpio_n_t *iop = &(par_io->ioport[MDIO_PORT]);
> #endif
CONFIG_MPC83XX was recently replaced with CONFIG_MPC83xx. I didn't look
through the patches with a fine-toothed comb, but it looked like there
were a couple of instances of CONFIG_MPC83XX.
Best,
Peter
prev parent reply other threads:[~2009-07-01 19:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-01 18:05 [U-Boot] [PATCH] 83xx: UEC: Added support for bitBang MII driver access to PHYs Richard Retanubun
2009-07-01 19:25 ` Peter Tyser [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=1246476343.19741.21.camel@localhost.localdomain \
--to=ptyser@xes-inc.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