diff options
Diffstat (limited to 'arch/ppc/boot')
-rw-r--r-- | arch/ppc/boot/simple/embed_config.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/ppc/boot/simple/embed_config.c b/arch/ppc/boot/simple/embed_config.c index f6ce7e74f872..491a691d10cc 100644 --- a/arch/ppc/boot/simple/embed_config.c +++ b/arch/ppc/boot/simple/embed_config.c | |||
@@ -926,39 +926,3 @@ embed_config(bd_t **bdp) | |||
926 | #endif | 926 | #endif |
927 | } | 927 | } |
928 | #endif | 928 | #endif |
929 | |||
930 | #ifdef CONFIG_RAINIER | ||
931 | /* Rainier uses vxworks bootrom */ | ||
932 | void | ||
933 | embed_config(bd_t **bdp) | ||
934 | { | ||
935 | u_char *cp; | ||
936 | int i; | ||
937 | bd_t *bd; | ||
938 | |||
939 | bd = &bdinfo; | ||
940 | *bdp = bd; | ||
941 | |||
942 | for(i=0;i<8192;i+=32) { | ||
943 | __asm__("dccci 0,%0" :: "r" (i)); | ||
944 | } | ||
945 | __asm__("iccci 0,0"); | ||
946 | __asm__("sync;isync"); | ||
947 | |||
948 | /* init ram for parity */ | ||
949 | memset(0, 0,0x400000); /* Lo memory */ | ||
950 | |||
951 | |||
952 | bd->bi_memsize = (32 * 1024 * 1024) ; | ||
953 | bd->bi_intfreq = 133000000; //the internal clock is 133 MHz | ||
954 | bd->bi_busfreq = 100000000; | ||
955 | bd->bi_pci_busfreq= 33000000; | ||
956 | |||
957 | cp = (u_char *)def_enet_addr; | ||
958 | for (i=0; i<6; i++) { | ||
959 | bd->bi_enetaddr[i] = *cp++; | ||
960 | } | ||
961 | |||
962 | } | ||
963 | #endif | ||
964 | |||