diff options
Diffstat (limited to 'board/dbau1x00/dbau1x00.c')
-rw-r--r-- | board/dbau1x00/dbau1x00.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/board/dbau1x00/dbau1x00.c b/board/dbau1x00/dbau1x00.c index df1c15c..1f7253e 100644 --- a/board/dbau1x00/dbau1x00.c +++ b/board/dbau1x00/dbau1x00.c @@ -30,7 +30,7 @@ long int initdram(int board_type) { /* Sdram is setup by assembler code */ /* If memory could be changed, we should return the true value here */ - return 64*1024*1024; + return MEM_SIZE*1024*1024; } #define BCSR_PCMCIA_PC0DRVEN 0x0010 @@ -42,8 +42,8 @@ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 ); int checkboard (void) { u16 status; - volatile u32 *pcmcia_bcsr = (u32*)(DB1000_BCSR_ADDR+0x10); - volatile u32 *phy = (u32*)(DB1000_BCSR_ADDR+0xC); + volatile u32 *pcmcia_bcsr = (u32*)(DB1XX0_BCSR_ADDR+0x10); + volatile u32 *phy = (u32*)(DB1XX0_BCSR_ADDR+0xC); volatile u32 *sys_counter = (volatile u32*)SYS_COUNTER_CNTRL; u32 proc_id; @@ -67,6 +67,11 @@ int checkboard (void) printf ("CPU: Au1100, id: 0x%02x, rev: 0x%02x\n", (proc_id >> 8) & 0xFF, proc_id & 0xFF); break; + case 3: + puts ("Board: DbAu1550\n"); + printf ("CPU: Au1550, id: 0x%02x, rev: 0x%02x\n", + (proc_id >> 8) & 0xFF, proc_id & 0xFF); + break; default: printf ("Unsupported cpu %d, proc_id=0x%x\n", proc_id >> 24, proc_id); } |