Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bdc3c3c7
Commit
bdc3c3c7
authored
Nov 17, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Add missing arch defines for the Alchemy MTD driver.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
6f17ce33
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
0 deletions
+19
-0
include/asm-mips/mach-db1x00/db1200.h
include/asm-mips/mach-db1x00/db1200.h
+3
-0
include/asm-mips/mach-db1x00/db1x00.h
include/asm-mips/mach-db1x00/db1x00.h
+6
-0
include/asm-mips/mach-pb1x00/pb1200.h
include/asm-mips/mach-pb1x00/pb1200.h
+3
-0
include/asm-mips/mach-pb1x00/pb1550.h
include/asm-mips/mach-pb1x00/pb1550.h
+7
-0
No files found.
include/asm-mips/mach-db1x00/db1200.h
View file @
bdc3c3c7
...
@@ -220,5 +220,8 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;
...
@@ -220,5 +220,8 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;
#define BOARD_PC1_INT DB1200_PC1_INT
#define BOARD_PC1_INT DB1200_PC1_INT
#define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET)))
#define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET)))
/* Nand chip select */
#define NAND_CS 1
#endif
/* __ASM_DB1200_H */
#endif
/* __ASM_DB1200_H */
include/asm-mips/mach-db1x00/db1x00.h
View file @
bdc3c3c7
...
@@ -200,6 +200,12 @@ typedef volatile struct
...
@@ -200,6 +200,12 @@ typedef volatile struct
((NAND_T_PUL & 0xF) << NAND_T_PUL_SHIFT) | \
((NAND_T_PUL & 0xF) << NAND_T_PUL_SHIFT) | \
((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \
((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \
((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT)
((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT)
#define NAND_CS 1
/* should be done by yamon */
#define NAND_STCFG 0x00400005
/* 8-bit NAND */
#define NAND_STTIME 0x00007774
/* valid for 396MHz SD=2 only */
#define NAND_STADDR 0x12000FFF
/* physical address 0x20000000 */
#endif
/* __ASM_DB1X00_H */
#endif
/* __ASM_DB1X00_H */
include/asm-mips/mach-pb1x00/pb1200.h
View file @
bdc3c3c7
...
@@ -248,5 +248,8 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;
...
@@ -248,5 +248,8 @@ static BCSR * const bcsr = (BCSR *)BCSR_KSEG1_ADDR;
#define BOARD_PC1_INT PB1200_PC1_INT
#define BOARD_PC1_INT PB1200_PC1_INT
#define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET)))
#define BOARD_CARD_INSERTED(SOCKET) bcsr->sig_status & (1<<(8+(2*SOCKET)))
/* Nand chip select */
#define NAND_CS 1
#endif
/* __ASM_PB1200_H */
#endif
/* __ASM_PB1200_H */
include/asm-mips/mach-pb1x00/pb1550.h
View file @
bdc3c3c7
...
@@ -166,4 +166,11 @@ static BCSR * const bcsr = (BCSR *)BCSR_PHYS_ADDR;
...
@@ -166,4 +166,11 @@ static BCSR * const bcsr = (BCSR *)BCSR_PHYS_ADDR;
((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \
((NAND_T_SU & 0xF) << NAND_T_SU_SHIFT) | \
((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT)
((NAND_T_WH & 0xF) << NAND_T_WH_SHIFT)
#define NAND_CS 1
/* should be done by yamon */
#define NAND_STCFG 0x00400005
/* 8-bit NAND */
#define NAND_STTIME 0x00007774
/* valid for 396MHz SD=2 only */
#define NAND_STADDR 0x12000FFF
/* physical address 0x20000000 */
#endif
/* __ASM_PB1550_H */
#endif
/* __ASM_PB1550_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment