Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
e118e233
Commit
e118e233
authored
21 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
- Update NAND FLASH support.
parent
95aeb345
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
board/esd/ash405/ash405.c
+7
-2
7 additions, 2 deletions
board/esd/ash405/ash405.c
with
7 additions
and
2 deletions
board/esd/ash405/ash405.c
+
7
−
2
View file @
e118e233
...
...
@@ -238,10 +238,15 @@ int testdram (void)
/* ------------------------------------------------------------------------- */
#if (CONFIG_COMMANDS & CFG_CMD_NAND)
extern
void
nand_probe
(
ulong
physadr
);
#include
<linux/mtd/nand.h>
extern
struct
nand_chip
nand_dev_desc
[
CFG_MAX_NAND_DEVICE
];
void
nand_init
(
void
)
{
printf
(
"Probing at 0x%.8x
\n
"
,
CFG_NAND_BASE
);
nand_probe
(
CFG_NAND_BASE
);
if
(
nand_dev_desc
[
0
].
ChipID
!=
NAND_ChipID_UNKNOWN
)
{
puts
(
"NAND: "
);
print_size
(
nand_dev_desc
[
0
].
totlen
,
"
\n
"
);
}
}
#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