Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6900
b: refs/heads/master
c: d2d3416
h: refs/heads/master
v: v3
  • Loading branch information
Kumar Gala authored and Linus Torvalds committed Sep 5, 2005
1 parent 4d666c6 commit 63b767a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 636 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 37330c9146767fd4f5eb147b01cb500eabf773cf
refs/heads/master: d2d34169cc9834f29dac0b02f95022b1e0b97e52
36 changes: 0 additions & 36 deletions trunk/arch/ppc/boot/simple/embed_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -926,39 +926,3 @@ embed_config(bd_t **bdp)
#endif
}
#endif

#ifdef CONFIG_RAINIER
/* Rainier uses vxworks bootrom */
void
embed_config(bd_t **bdp)
{
u_char *cp;
int i;
bd_t *bd;

bd = &bdinfo;
*bdp = bd;

for(i=0;i<8192;i+=32) {
__asm__("dccci 0,%0" :: "r" (i));
}
__asm__("iccci 0,0");
__asm__("sync;isync");

/* init ram for parity */
memset(0, 0,0x400000); /* Lo memory */


bd->bi_memsize = (32 * 1024 * 1024) ;
bd->bi_intfreq = 133000000; //the internal clock is 133 MHz
bd->bi_busfreq = 100000000;
bd->bi_pci_busfreq= 33000000;

cp = (u_char *)def_enet_addr;
for (i=0; i<6; i++) {
bd->bi_enetaddr[i] = *cp++;
}

}
#endif

Loading

0 comments on commit 63b767a

Please sign in to comment.