patch-2.4.5 linux/include/asm-ppc/walnut.h
Next file: linux/include/asm-ppc/xor.h
Previous file: linux/include/asm-ppc/vga.h
Back to the patch index
Back to the overall index
- Lines: 68
- Date:
Mon May 21 15:02:06 2001
- Orig file:
v2.4.4/linux/include/asm-ppc/walnut.h
- Orig date:
Sat Nov 11 18:23:11 2000
diff -u --recursive --new-file v2.4.4/linux/include/asm-ppc/walnut.h linux/include/asm-ppc/walnut.h
@@ -1,13 +1,25 @@
/*
+ * BK Id: SCCS/s.walnut.h 1.7 05/17/01 18:14:26 cort
+ */
+/*
*
* Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
*
- * Module name: walnut.h
+ * Copyright 2000 MontaVista Software Inc.
+ * PPC405 modifications
+ * Author: MontaVista Software, Inc.
+ * frank_rowand@mvista.com or source@mvista.com
+ * debbie_chu@mvista.com
+ *
+ * Module name: ppc405.h
*
* Description:
- * Macros, definitions, and data structures specific to the IBM PowerPC
- * 405GP "Walnut" evaluation board. Anything specific to the processor
- * itself is defined elsewhere.
+ * Macros, definitions, and data structures specific to the IBM PowerPC
+ * based boards.
+ *
+ * This includes:
+ *
+ * 405GP "Walnut" evaluation board
*
*/
@@ -19,12 +31,37 @@
#ifdef __cplusplus
extern "C" {
#endif
+/*
+ * Data structure defining board information maintained by the boot
+ * ROM on IBM's "Walnut" evaluation board. An effort has been made to
+ * keep the field names consistent with the 8xx 'bd_t' board info
+ * structures.
+ */
+typedef struct board_info {
+ unsigned char bi_s_version[4]; /* Version of this structure */
+ unsigned char bi_r_version[30]; /* Version of the IBM ROM */
+ unsigned int bi_memsize; /* DRAM installed, in bytes */
+ unsigned char bi_enetaddr[6]; /* Local Ethernet MAC address */
+ unsigned char bi_pci_enetaddr[6]; /* PCI Ethernet MAC address */
+ unsigned int bi_procfreq; /* Processor speed, in Hz */
+ unsigned int bi_plb_busfreq; /* PLB Bus speed, in Hz */
+ unsigned int bi_pci_busfreq; /* PCI Bus speed, in Hz */
+} bd_t;
+/* Memory map for the IBM "Walnut" 405GP evaluation board.
+ * Generic 4xx plus RTC.
+ */
+#define WALNUT_RTC_ADDR ((uint)0xf0001000)
+#define WALNUT_RTC_SIZE ((uint)4*1024)
#ifdef __cplusplus
}
#endif
+
+/* Generic 4xx type
+*/
+#define _MACH_4xx (_MACH_walnut)
#endif /* __WALNUT_H__ */
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)