patch-2.4.26 linux-2.4.26/arch/ppc/boot/simple/embed_config.c
Next file: linux-2.4.26/arch/ppc/boot/simple/m8260_tty.c
Previous file: linux-2.4.26/arch/ppc/boot/common/misc-simple.c
Back to the patch index
Back to the overall index
- Lines: 40
- Date:
2004-04-14 06:05:27.000000000 -0700
- Orig file:
linux-2.4.25/arch/ppc/boot/simple/embed_config.c
- Orig date:
2004-02-18 05:36:30.000000000 -0800
diff -urN linux-2.4.25/arch/ppc/boot/simple/embed_config.c linux-2.4.26/arch/ppc/boot/simple/embed_config.c
@@ -14,7 +14,7 @@
#endif
#ifdef CONFIG_8260
#include <asm/mpc8260.h>
-#include <asm/immap_8260.h>
+#include <asm/immap_cpm2.h>
#endif
#ifdef CONFIG_4xx
#include <asm/io.h>
@@ -394,10 +394,10 @@
clk_8260(bd_t *bd)
{
uint scmr, vco_out, clkin;
- uint plldf, pllmf, busdf, brgdf, cpmdf;
- volatile immap_t *ip;
+ uint plldf, pllmf, busdf, cpmdf;
+ volatile cpm2_map_t *ip;
- ip = (immap_t *)IMAP_ADDR;
+ ip = (cpm2_map_t *)CPM_MAP_ADDR;
scmr = ip->im_clkrst.car_scmr;
/* The clkin is always bus frequency.
@@ -502,7 +502,6 @@
embed_config(bd_t **bdp)
{
u_char *cp, *keyvals;
- int i;
bd_t *bd;
keyvals = (u_char *)*bdp;
@@ -582,7 +581,7 @@
*/
bd->bi_intfreq = 200000000;
}
-#endif /* RPX6 for testing */
+#endif /* RPX6 */
#ifdef CONFIG_ADS8260
void
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)