ACPI: bay: use IS_ERR for return of register_platform_device_simple
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / ppc / platforms / est8260.h
blobadba68ecf57bfda24f25b06c7a98b401f8536476
1 /* Board information for the EST8260, which should be generic for
2 * all 8260 boards. The IMMR is now given to us so the hard define
3 * will soon be removed. All of the clock values are computed from
4 * the configuration SCMR and the Power-On-Reset word.
5 */
6 #ifndef __EST8260_PLATFORM
7 #define __EST8260_PLATFORM
9 #define CPM_MAP_ADDR ((uint)0xf0000000)
11 #define BOOTROM_RESTART_ADDR ((uint)0xff000104)
13 /* For our show_cpuinfo hooks. */
14 #define CPUINFO_VENDOR "EST Corporation"
15 #define CPUINFO_MACHINE "SBC8260 PowerPC"
17 /* A Board Information structure that is given to a program when
18 * prom starts it up.
20 typedef struct bd_info {
21 unsigned int bi_memstart; /* Memory start address */
22 unsigned int bi_memsize; /* Memory (end) size in bytes */
23 unsigned int bi_intfreq; /* Internal Freq, in Hz */
24 unsigned int bi_busfreq; /* Bus Freq, in MHz */
25 unsigned int bi_cpmfreq; /* CPM Freq, in MHz */
26 unsigned int bi_brgfreq; /* BRG Freq, in MHz */
27 unsigned int bi_vco; /* VCO Out from PLL */
28 unsigned int bi_baudrate; /* Default console baud rate */
29 unsigned int bi_immr; /* IMMR when called from boot rom */
30 unsigned char bi_enetaddr[6];
31 } bd_t;
33 extern bd_t m8xx_board_info;
35 #endif /* __EST8260_PLATFORM */