i386: Replace [read, write]_mmcr_[byte, word, long] with memory mapped structure
[oweals/u-boot.git] / cpu / mpc83xx / serdes.c
index 630b111aab31ddb7ec5923eb8379b7f09587560a..283cc3f41080399c811385390949ecc4d21d301d 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Freescale SerDes initialization routine
  *
- * Copyright (C) 2007 Freescale Semicondutor, Inc. All rights reserved.
+ * Copyright (C) 2007 Freescale Semicondutor, Inc.
  * Copyright (C) 2008 MontaVista Software, Inc. All rights reserved.
  *
  * Author: Li Yang <leoli@freescale.com>
@@ -42,7 +42,7 @@
 #define FSL_SRDSRSTCTL_RST             0x80000000
 #define FSL_SRDSRSTCTL_SATA_RESET      0xf
 
-void fsl_setup_serdes(u32 offset, char proto, char rfcks, char vdd)
+void fsl_setup_serdes(u32 offset, char proto, u32 rfcks, char vdd)
 {
        void *regs = (void *)CONFIG_SYS_IMMR + offset;
        u32 tmp;