public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: richardretanubun <richardretanubun@ruggedcom.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] [83xx] Removed #ifdef CONFIG_MPC834X dependency on upmconfig function
Date: Thu, 16 Oct 2008 13:49:42 -0400	[thread overview]
Message-ID: <48F77EB6.8030701@ruggedcom.com> (raw)

Removed #ifdef CONFIG_MPC834X dependency on upmconfig function.

Signed-off-by: Richard Retanubun <RichardRetanubun@RugggedCom.com>
---
 cpu/mpc83xx/cpu.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/cpu/mpc83xx/cpu.c b/cpu/mpc83xx/cpu.c
index 99ab216..848b8fd 100644
--- a/cpu/mpc83xx/cpu.c
+++ b/cpu/mpc83xx/cpu.c
@@ -147,7 +147,6 @@ int checkcpu(void)
  */
 void upmconfig (uint upm, uint *table, uint size)
 {
-#if defined(CONFIG_MPC834X)
     volatile immap_t *immap = (immap_t *) CFG_IMMR;
     volatile lbus83xx_t *lbus = &immap->lbus;
     volatile uchar *dummy = NULL;
@@ -181,10 +180,6 @@ void upmconfig (uint upm, uint *table, uint size)
 
     /* Set the OP field in the MxMR to "normal" and the MAD field to 
000000 */
     *mxmr &= 0xCFFFFFC0;
-#else
-    printf("Error: %s() not defined for this configuration.\n", 
__FUNCTION__);
-    hang();
-#endif
 }
 
 
-- 
1.5.5.GIT

             reply	other threads:[~2008-10-16 17:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 17:49 richardretanubun [this message]
2008-10-16 21:28 ` [U-Boot] [PATCH] [83xx] Removed #ifdef CONFIG_MPC834X dependency on upmconfig function Kim Phillips
2008-10-17 12:55   ` Richard Retanubun

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=48F77EB6.8030701@ruggedcom.com \
    --to=richardretanubun@ruggedcom.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