diff options
author | wdenk <wdenk> | 2003-05-03 15:50:43 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-05-03 15:50:43 +0000 |
commit | 7aa78614716b7bd7bdf68553f261ad0d5a12826a (patch) | |
tree | 756a98d1deac76f1cfba3d8da18c19e7183618c8 /include/asm-ppc/cpm_8260.h | |
parent | 4532cb696eb717419022dbaa8d408e7df7df7b68 (diff) | |
download | u-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.zip u-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.tar.gz u-boot-imx-7aa78614716b7bd7bdf68553f261ad0d5a12826a.tar.bz2 |
* Add support for Promess ATC board
* Patch by Keith Outwater, 28 Apr 2003:
- Miscellaneous corrections and additions to GEN860T board specific code.
- Added GEN860_SC variant to GEN860T.
- Miscellaneous corrections to GEN860T documentation.
- Correct duplicate entry in U-Boot CREDITS file.
- Add GEN860T_SC entry in MAINTAINERS file.
- Update CREDITS file with GEN860T_SC info.
* Update Smiths Aerospace addresses in MAINTAINERS file
* Fix error handling in hush's version of "run" command
Diffstat (limited to 'include/asm-ppc/cpm_8260.h')
-rw-r--r-- | include/asm-ppc/cpm_8260.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/asm-ppc/cpm_8260.h b/include/asm-ppc/cpm_8260.h index bf2e2a2..5c70603 100644 --- a/include/asm-ppc/cpm_8260.h +++ b/include/asm-ppc/cpm_8260.h @@ -170,7 +170,7 @@ typedef struct cpm_buf_desc { */ #define PROFF_SMC1 (0) #define PROFF_SMC2 (64) - +#define PROFF_SPI ((16*1024) - 128) /* Define enough so I can at least use the serial port as a UART. */ @@ -737,6 +737,17 @@ typedef struct spi { #define SPMODE_LEN(x) ((((x)-1)&0xF)<<4) #define SPMODE_PM(x) ((x) &0xF) +/* SPI Event/Mask register. +*/ +#define SPI_EMASK 0x37 /* Event Mask */ +#define SPI_MME 0x20 /* Multi-Master Error */ +#define SPI_TXE 0x10 /* Transmit Error */ +#define SPI_BSY 0x04 /* Busy */ +#define SPI_TXB 0x02 /* Tx Buffer Empty */ +#define SPI_RXB 0x01 /* RX Buffer full/closed */ + +#define SPI_STR 0x80 /* SPCOM: Start transmit */ + #define SPI_EB ((u_char)0x10) /* big endian byte order */ #define BD_IIC_START ((ushort)0x0400) |