diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-10-14 23:35:35 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-08-06 12:55:43 -0400 |
commit | 222f6eb66eb966ac9f21c0224f53b98787529e10 (patch) | |
tree | ff01e7f1e2ff61e9c21682e7ff5fadeb4bff3998 /arch/blackfin/mach-bf548 | |
parent | fc1caf6eafb30ea185720e29f7f5eccca61ecd60 (diff) |
Blackfin: punt NFC MMR bits
Now that the NFC driver has its own defines, scrub the ones from the
global namespace to avoid ugly collisions with common code.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf548')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h index 0ed06c2366fe..54143441af5e 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | |||
@@ -2044,66 +2044,6 @@ | |||
2044 | #define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */ | 2044 | #define RESET_WDOG 0x4000 /* SW Reset Generated By Watchdog Timer */ |
2045 | #define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */ | 2045 | #define RESET_SOFTWARE 0x8000 /* SW Reset Occurred Since Last Read Of SWRST */ |
2046 | 2046 | ||
2047 | /* Bit masks for NFC_CTL */ | ||
2048 | |||
2049 | #define WR_DLY 0xf /* Write Strobe Delay */ | ||
2050 | #define RD_DLY 0xf0 /* Read Strobe Delay */ | ||
2051 | #define NWIDTH 0x100 /* NAND Data Width */ | ||
2052 | #define PG_SIZE 0x200 /* Page Size */ | ||
2053 | |||
2054 | /* Bit masks for NFC_STAT */ | ||
2055 | |||
2056 | #define NBUSY 0x1 /* Not Busy */ | ||
2057 | #define WB_FULL 0x2 /* Write Buffer Full */ | ||
2058 | #define PG_WR_STAT 0x4 /* Page Write Pending */ | ||
2059 | #define PG_RD_STAT 0x8 /* Page Read Pending */ | ||
2060 | #define WB_EMPTY 0x10 /* Write Buffer Empty */ | ||
2061 | |||
2062 | /* Bit masks for NFC_IRQSTAT */ | ||
2063 | |||
2064 | #define NBUSYIRQ 0x1 /* Not Busy IRQ */ | ||
2065 | #define WB_OVF 0x2 /* Write Buffer Overflow */ | ||
2066 | #define WB_EDGE 0x4 /* Write Buffer Edge Detect */ | ||
2067 | #define RD_RDY 0x8 /* Read Data Ready */ | ||
2068 | #define WR_DONE 0x10 /* Page Write Done */ | ||
2069 | |||
2070 | /* Bit masks for NFC_IRQMASK */ | ||
2071 | |||
2072 | #define MASK_BUSYIRQ 0x1 /* Mask Not Busy IRQ */ | ||
2073 | #define MASK_WBOVF 0x2 /* Mask Write Buffer Overflow */ | ||
2074 | #define MASK_WBEMPTY 0x4 /* Mask Write Buffer Empty */ | ||
2075 | #define MASK_RDRDY 0x8 /* Mask Read Data Ready */ | ||
2076 | #define MASK_WRDONE 0x10 /* Mask Write Done */ | ||
2077 | |||
2078 | /* Bit masks for NFC_RST */ | ||
2079 | |||
2080 | #define ECC_RST 0x1 /* ECC (and NFC counters) Reset */ | ||
2081 | |||
2082 | /* Bit masks for NFC_PGCTL */ | ||
2083 | |||
2084 | #define PG_RD_START 0x1 /* Page Read Start */ | ||
2085 | #define PG_WR_START 0x2 /* Page Write Start */ | ||
2086 | |||
2087 | /* Bit masks for NFC_ECC0 */ | ||
2088 | |||
2089 | #define ECC0 0x7ff /* Parity Calculation Result0 */ | ||
2090 | |||
2091 | /* Bit masks for NFC_ECC1 */ | ||
2092 | |||
2093 | #define ECC1 0x7ff /* Parity Calculation Result1 */ | ||
2094 | |||
2095 | /* Bit masks for NFC_ECC2 */ | ||
2096 | |||
2097 | #define ECC2 0x7ff /* Parity Calculation Result2 */ | ||
2098 | |||
2099 | /* Bit masks for NFC_ECC3 */ | ||
2100 | |||
2101 | #define ECC3 0x7ff /* Parity Calculation Result3 */ | ||
2102 | |||
2103 | /* Bit masks for NFC_COUNT */ | ||
2104 | |||
2105 | #define ECCCNT 0x3ff /* Transfer Count */ | ||
2106 | |||
2107 | /* Bit masks for EPPIx_STATUS */ | 2047 | /* Bit masks for EPPIx_STATUS */ |
2108 | 2048 | ||
2109 | #define CFIFO_ERR 0x1 /* Chroma FIFO Error */ | 2049 | #define CFIFO_ERR 0x1 /* Chroma FIFO Error */ |