Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
0c42f36f
Commit
0c42f36f
authored
17 years ago
by
Peter Pearse
Browse files
Options
Downloads
Patches
Plain Diff
Replace lost end of at45.c.
parent
65d7ada6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/at45.c
+14
-0
14 additions, 0 deletions
drivers/at45.c
with
14 additions
and
0 deletions
drivers/at45.c
100644 → 100755
+
14
−
0
View file @
0c42f36f
...
...
@@ -547,4 +547,18 @@ int AT91F_DataFlashRead(
return
DATAFLASH_OK
;
}
/*---------------------------------------------------------------------------*/
/* Function Name : AT91F_DataflashProbe */
/* Object : */
/* Input Parameters : */
/* Return value : Dataflash status register */
/*---------------------------------------------------------------------------*/
int
AT91F_DataflashProbe
(
int
cs
,
AT91PS_DataflashDesc
pDesc
)
{
AT91F_SpiEnable
(
cs
);
AT91F_DataFlashGetStatus
(
pDesc
);
return
((
pDesc
->
command
[
1
]
==
0xFF
)
?
0
:
pDesc
->
command
[
1
]
&
0x3C
);
}
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment