[U-Boot] [PATCH] [83xx] Removed #ifdef CONFIG_MPC834X dependency on upmconfig function

richardretanubun richardretanubun at ruggedcom.com
Thu Oct 16 19:49:42 CEST 2008


Removed #ifdef CONFIG_MPC834X dependency on upmconfig function.

Signed-off-by: Richard Retanubun <RichardRetanubun at 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



More information about the U-Boot mailing list