Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
Commits
a4ad57f8
Commit
a4ad57f8
authored
Jun 04, 2009
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxc nand: remove dead code
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
62465491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
17 deletions
+0
-17
drivers/mtd/nand/mxc_nand.c
drivers/mtd/nand/mxc_nand.c
+0
-17
No files found.
drivers/mtd/nand/mxc_nand.c
View file @
a4ad57f8
...
...
@@ -620,23 +620,6 @@ static void mxc_nand_select_chip(struct mtd_info *mtd, int chip)
struct
nand_chip
*
nand_chip
=
mtd
->
priv
;
struct
mxc_nand_host
*
host
=
nand_chip
->
priv
;
#ifdef CONFIG_MTD_NAND_MXC_FORCE_CE
if
(
chip
>
0
)
{
DEBUG
(
MTD_DEBUG_LEVEL0
,
"ERROR: Illegal chip select (chip = %d)
\n
"
,
chip
);
return
;
}
if
(
chip
==
-
1
)
{
writew
(
readw
(
host
->
regs
+
NFC_CONFIG1
)
&
~
NFC_CE
,
host
->
regs
+
NFC_CONFIG1
);
return
;
}
writew
(
readw
(
host
->
regs
+
NFC_CONFIG1
)
|
NFC_CE
,
host
->
regs
+
NFC_CONFIG1
);
#endif
switch
(
chip
)
{
case
-
1
:
/* Disable the NFC clock */
...
...
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