|
@@ -104,13 +104,6 @@ int board_early_init_f (void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-int misc_init_f (void)
|
|
|
-{
|
|
|
- return 0; /* dummy implementation */
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
int misc_init_r (void)
|
|
|
{
|
|
|
unsigned char *duart0_mcr = (unsigned char *)((ulong)DUART0_BA + 4);
|
|
@@ -303,35 +296,6 @@ int checkboard (void)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-/* ------------------------------------------------------------------------- */
|
|
|
-
|
|
|
-phys_size_t initdram (int board_type)
|
|
|
-{
|
|
|
- unsigned long val;
|
|
|
-
|
|
|
- mtdcr(memcfga, mem_mb0cf);
|
|
|
- val = mfdcr(memcfgd);
|
|
|
-
|
|
|
-#if 0
|
|
|
- printf("\nmb0cf=%x\n", val); /* test-only */
|
|
|
- printf("strap=%x\n", mfdcr(strap)); /* test-only */
|
|
|
-#endif
|
|
|
-
|
|
|
- return (4*1024*1024 << ((val & 0x000e0000) >> 17));
|
|
|
-}
|
|
|
-
|
|
|
-/* ------------------------------------------------------------------------- */
|
|
|
-
|
|
|
-int testdram (void)
|
|
|
-{
|
|
|
- /* TODO: XXX XXX XXX */
|
|
|
- printf ("test: 16 MB - ok\n");
|
|
|
-
|
|
|
- return (0);
|
|
|
-}
|
|
|
-
|
|
|
-/* ------------------------------------------------------------------------- */
|
|
|
-
|
|
|
#ifdef CONFIG_IDE_RESET
|
|
|
void ide_set_reset(int on)
|
|
|
{
|