Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
00a07ac9
Commit
00a07ac9
authored
Apr 24, 2008
by
张青山(steven.zhang)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: Davinci: port IDE driver from EVM to OSD2.0
parent
ae0b8e68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
arch/arm/configs/ntosd_644xA_defconfig
arch/arm/configs/ntosd_644xA_defconfig
+1
-1
drivers/ide/davinci/palm_bk3710.c
drivers/ide/davinci/palm_bk3710.c
+5
-0
No files found.
arch/arm/configs/ntosd_644xA_defconfig
View file @
00a07ac9
...
...
@@ -493,7 +493,7 @@ CONFIG_BLK_DEV_RAM_SIZE=32768
CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
#
CONFIG_IDE=y
CONFIG_IDE=y
CONFIG_IDE_MAX_HWIFS=4
CONFIG_BLK_DEV_IDE=y
...
...
drivers/ide/davinci/palm_bk3710.c
View file @
00a07ac9
...
...
@@ -23,6 +23,7 @@
* ----------------------------------------------------------------------------
Modifications:
ver. 1.0: Oct 2005, Swaminathan S
Apr 2008, Neuros Technology
-
*
*/
...
...
@@ -467,6 +468,8 @@ int palm_bk3710_init(void)
*
* Ensure both are not Enabled.
*/
#ifdef CONFIG_MACH_DAVINCI_EVM
#ifdef CONFIG_DAVINCI_BLK_DEV_CF
davinci_i2c_expander_op
(
0x3A
,
ATA_SEL
,
1
);
davinci_i2c_expander_op
(
0x3A
,
CF_RESET
,
1
);
...
...
@@ -475,6 +478,8 @@ int palm_bk3710_init(void)
davinci_i2c_expander_op
(
0x3A
,
CF_SEL
,
1
);
davinci_i2c_expander_op
(
0x3A
,
ATA_SEL
,
0
);
#endif
#endif
/* Register the IDE interface with Linux ATA Interface */
memset
(
&
ide_ctlr_info
,
0
,
sizeof
(
ide_ctlr_info
));
...
...
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