Optimize andes_clear_page() and andes_copy_page() with prefetch
[linux-2.6/linux-mips.git] / include / asm-ppc / tqm8xxL.h
blobe51e9808078b48d029e6e8bb6fe4bab4e37103ab
2 /*
3 * A collection of structures, addresses, and values associated with
4 * the TQ Systems TQM850L modules. This was originally created for the
5 * MBX860, and probably needs revisions for other boards (like the 821).
6 * When this file gets out of control, we can split it up into more
7 * meaningful pieces.
9 * Based on mbx.h, Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
11 * Copyright (c) 1999 Wolfgang Denk (wd@denx.de)
13 #ifndef __MACH_TQM8xxL_DEFS
14 #define __MACH_TQM8xxL_DEFS
16 /* A Board Information structure that is given to a program when
17 * EPPC-Bug starts it up.
19 typedef struct bd_info {
20 unsigned long bi_memstart; /* start of DRAM memory */
21 unsigned long bi_memsize; /* size of DRAM memory in bytes */
22 unsigned long bi_flashstart; /* start of FLASH memory */
23 unsigned long bi_flashsize; /* size of FLASH memory */
24 unsigned long bi_flashoffset; /* reserved area for startup monitor */
25 unsigned long bi_sramstart; /* start of SRAM memory */
26 unsigned long bi_sramsize; /* size of SRAM memory */
27 unsigned long bi_immr_base; /* base of IMMR register */
28 unsigned long bi_bootflags; /* boot / reboot flag (for LynxOS) */
29 unsigned long bi_ip_addr; /* IP Address */
30 unsigned char bi_enetaddr[6]; /* Ethernet adress */
31 unsigned char bi_reserved[2]; /* -- just for alignment -- */
32 unsigned long bi_putchar; /* Addr of monitor putchar() to Console */
33 unsigned long bi_intfreq; /* Internal Freq, in MHz */
34 unsigned long bi_busfreq; /* Bus Freq, in MHz */
35 unsigned long bi_baudrate; /* Console Baudrate */
36 } bd_t;
38 /* Configuration options for TQ Systems TQM850L mini module
41 #define TQM_RESET_ADDR 0x40000100 /* Monitor Reset Entry */
43 #define TQM_IMMR_BASE 0xFFF00000 /* phys. addr of IMMR */
44 #define TQM_IMAP_SIZE (64 * 1024) /* size of mapped area */
46 #define TQM_CLOCKRATE 50 /* 50 MHz Clock */
47 /*#define TQM_BAUDRATE 115200 */ /* Console baud rate */
48 #define TQM_BAUDRATE 38400 /* Console baud rate */
49 #define TQM_IP_ADDR 0x0A000063 /* IP addr: 10.0.0.99 */
51 #define TQM_SERVER_IP "10.0.0.2" /* NFS server IP addr */
52 #define TQM_SERVER_DIR "/LinuxPPC" /* NFS exported root */
54 #define IMAP_ADDR TQM_IMMR_BASE /* physical base address of IMMR area */
55 #define IMAP_SIZE TQM_IMAP_SIZE /* mapped size of IMMR area */
57 /* We don't use the 8259.
59 #define NR_8259_INTS 0
61 /* Generic 8xx type
63 #define _MACH_8xx (_MACH_tqm8xxL)
65 #endif /* __MACH_TQM8xxL_DEFS */