From a2663ea4fc9d18cb8000c97ed92c3c668eda8e04 Mon Sep 17 00:00:00 2001 From: wdenk Date: Sun, 7 Dec 2003 18:32:37 +0000 Subject: =?UTF-8?q?*=20Patches=20by=20David=20M=FCller,=2014=20Nov=202003:?= =?UTF-8?q?=20=20=20-=20board/mpl/common/common=5Futil.c=20=20=20=20=20*?= =?UTF-8?q?=20implement=20support=20for=20BZIP2=20compressed=20images=20?= =?UTF-8?q?=20=20=20=20*=20various=20cleanups=20(printf=20->=20puts,=20...?= =?UTF-8?q?)=20=20=20-=20board/mpl/common/flash.c=20=20=20=20=20*=20report?= =?UTF-8?q?=20correct=20errors=20to=20upper=20layers=20=20=20=20=20*=20che?= =?UTF-8?q?ck=20the=20erase=20fail=20and=20VPP=20low=20bits=20in=20status?= =?UTF-8?q?=20reg=20=20=20-=20board/mpl/vcma9/cmd=5Fvcma9.c=20=20=20-=20bo?= =?UTF-8?q?ard/mpl/vcma9/flash.c=20=20=20=20=20*=20various=20cleanups=20(p?= =?UTF-8?q?rintf=20->=20puts,=20...)=20=20=20-=20common/cmd=5Fusb.c=20=20?= =?UTF-8?q?=20=20=20*=20fix=20typo=20in=20comment=20=20=20-=20cpu/arm920t/?= =?UTF-8?q?usb=5Fohci.c=20=20=20=20=20*=20support=20for=20S3C2410=20is=20m?= =?UTF-8?q?issing=20in=20#if=20line=20=20=20-=20drivers/cs8900.c=20=20=20?= =?UTF-8?q?=20=20*=20reinit=20some=20registers=20in=20case=20of=20error=20?= =?UTF-8?q?(cable=20missing,=20...)=20=20=20-=20fs/fat/fat.c=20=20=20=20?= =?UTF-8?q?=20*=20support=20for=20USB/MMC=20devices=20is=20missing=20in=20?= =?UTF-8?q?#if=20line=20=20=20-=20include/configs/MIP405.h=20=20=20-=20inc?= =?UTF-8?q?lude/configs/PIP405.h=20=20=20=20=20*=20enable=20BZIP2=20suppor?= =?UTF-8?q?t=20=20=20=20=20*=20enlarge=20malloc=20space=20to=201MiB=20beca?= =?UTF-8?q?use=20of=20BZIP2=20support=20=20=20-=20include/configs/VCMA9.h?= =?UTF-8?q?=20=20=20=20=20*=20enable=20BZIP2=20support=20=20=20=20=20*=20e?= =?UTF-8?q?nlarge=20malloc=20space=20to=201MiB=20because=20of=20BZIP2=20su?= =?UTF-8?q?pport=20=20=20=20=20*=20enable=20USB=20support=20=20=20-=20lib?= =?UTF-8?q?=5Farm/armlinux.c=20=20=20=20=20*=20change=20calling=20conventi?= =?UTF-8?q?on=20of=20ARM=20Linux=20kernel=20as=20=20=20=20=20=20=20describ?= =?UTF-8?q?ed=20on=20http://www.arm.linux.org.uk/developer/booting.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Patch by Thomas Lange, 14 Nov 2003: Split dbau1x00 into dbau1000, dbau1100 and dbau1500 configs to support all these AMD boards. * Patch by Thomas Lange, 14 Nov 2003: Workaround for mips au1x00 physical memory accesses (the au1x00 uses a 36 bit bus internally and cannot access physical memory directly. Use the uncached SDRAM address instead of the physical one.) --- board/dbau1x00/dbau1x00.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'board/dbau1x00') diff --git a/board/dbau1x00/dbau1x00.c b/board/dbau1x00/dbau1x00.c index 3b6fcec1c8..8fcbd812a5 100644 --- a/board/dbau1x00/dbau1x00.c +++ b/board/dbau1x00/dbau1x00.c @@ -39,6 +39,13 @@ long int initdram(int board_type) /* In cpu/mips/cpu.c */ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 ); +#ifdef CONFIG_DBAU1100 +#warning "FIXME Check that bcsr is the same as dbau1000 board!" +#endif +#ifdef CONFIG_DBAU1500 +#warning "FIXME Check that bcsr is the same as dbau1000 board!" +#endif + int checkboard (void) { u16 status; @@ -51,14 +58,24 @@ int checkboard (void) proc_id = read_32bit_cp0_register(CP0_PRID); - switch(proc_id>>24){ + switch (proc_id >> 24) { case 0: - puts("Board: Merlot (DbAu1000)\n"); - printf("CPU: Au1000 396 MHz, id: 0x%02x, rev: 0x%02x\n", - (proc_id>>8)&0xFF,proc_id&0xFF); - break; + puts ("Board: Merlot (DbAu1000)\n"); + printf ("CPU: Au1000 396 MHz, id: 0x%02x, rev: 0x%02x\n", + (proc_id >> 8) & 0xFF, proc_id & 0xFF); + break; + case 1: + puts ("Board: DbAu1500\n"); + printf ("CPU: Au1500, id: 0x%02x, rev: 0x%02x\n", + (proc_id >> 8) & 0xFF, proc_id & 0xFF); + break; + case 2: + puts ("Board: DbAu1100\n"); + printf ("CPU: Au1100, 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); + printf ("Unsupported cpu %d, proc_id=0x%x\n", proc_id >> 24, proc_id); } #ifdef CONFIG_IDE_PCMCIA /* Enable 3.3 V on slot 0 ( VCC ) -- cgit v1.2.1