diff -Naur linux-2.4.4-denx-20020321/arch/ppc/config.in linux-2.4.4-denx-20020321-edu-20020425/arch/ppc/config.in --- linux-2.4.4-denx-20020321/arch/ppc/config.in Mon May 27 17:17:05 2002 +++ linux-2.4.4-denx-20020321-edu-20020425/arch/ppc/config.in Mon May 27 17:18:57 2002 @@ -44,10 +44,11 @@ dep_tristate 'Support for CU824' CONFIG_CU824 $CONFIG_8240 -if [ "$CONFIG_8260" = "y" ]; then +if [ "$CONFIG_8260" = "y" -a "$CONFIG_6xx" = "y" ]; then define_bool CONFIG_SERIAL_CONSOLE y bool 'Support for EST8260' CONFIG_EST8260 bool 'Support for TQM8260' CONFIG_TQM8260 + bool 'Support for Motorola MPC8260ADS' CONFIG_MPC8260ADS bool 'Support for PM826' CONFIG_PM826 bool 'Support for IPHASE4539' CONFIG_IPHASE4539 bool 'Support for CPU86' CONFIG_CPU86 diff -Naur linux-2.4.4-denx-20020321/include/asm-ppc/mpc8260.h linux-2.4.4-denx-20020321-edu-atm/include/asm-ppc/mpc8260.h --- linux-2.4.4-denx-20020321/include/asm-ppc/mpc8260.h Mon May 27 17:17:57 2002 +++ linux-2.4.4-denx-20020321-edu-atm/include/asm-ppc/mpc8260.h Tue May 28 18:41:28 2002 @@ -33,6 +33,10 @@ #include #endif +#ifdef CONFIG_MPC8260ADS +#include +#endif + /* I don't yet have the ISA or PCI stuff done....no 8260 with * such thing..... */ diff -Naur linux-2.4.4-denx-20020321/include/asm-ppc/mpc8260ads.h linux-2.4.4-denx-20020321-edu-atm/include/asm-ppc/mpc8260ads.h --- linux-2.4.4-denx-20020321/include/asm-ppc/mpc8260ads.h Thu Jan 1 01:00:00 1970 +++ linux-2.4.4-denx-20020321-edu-atm/include/asm-ppc/mpc8260ads.h Tue May 28 18:41:28 2002 @@ -0,0 +1,30 @@ +/* + * Board information for the Motorola MPC8260ADS. + */ + +#ifndef __MPC8260ADS_H__ +#define __MPC8260ADS_H__ + +/* MPC8260 Internel Memory Map */ +/* XXX PPCBOOT provide it in Board Information structure */ +#define IMAP_ADDR ((uint)0xf0000000) + +#include + +/* Board Control and Status Register */ +typedef struct bcsr +{ + unsigned int bcsr0; + unsigned int bcsr1; + unsigned int bcsr2; + unsigned int bcsr3; + unsigned int bcsr4; + unsigned int bcsr5; + unsigned int bcsr6; + unsigned int bcsr7; +} bcsr_t; + +#define BCSR_ADDR 0x04500000 +#define BCSR_SIZE 0x00008000 + +#endif /* __MPC8260ADS_H__ */