Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Jack Humbert
reform-boundary-uboot
Commits
cd21a458
Commit
cd21a458
authored
15 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-cfi-flash
parents
10faafd5
9578718c
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/mtd/cfi_mtd.c
+9
-2
9 additions, 2 deletions
drivers/mtd/cfi_mtd.c
with
9 additions
and
2 deletions
drivers/mtd/cfi_mtd.c
+
9
−
2
View file @
cd21a458
...
@@ -31,10 +31,17 @@
...
@@ -31,10 +31,17 @@
#include
<linux/mtd/mtd.h>
#include
<linux/mtd/mtd.h>
#include
<linux/mtd/concat.h>
#include
<linux/mtd/concat.h>
/* use CONFIG_SYS_MAX_FLASH_BANKS_DETECT if defined */
#ifdef CONFIG_SYS_MAX_FLASH_BANKS_DETECT
# define CFI_MAX_FLASH_BANKS CONFIG_SYS_MAX_FLASH_BANKS_DETECT
#else
# define CFI_MAX_FLASH_BANKS CONFIG_SYS_MAX_FLASH_BANKS
#endif
extern
flash_info_t
flash_info
[];
extern
flash_info_t
flash_info
[];
static
struct
mtd_info
cfi_mtd_info
[
C
ONFIG_SYS
_MAX_FLASH_BANKS
];
static
struct
mtd_info
cfi_mtd_info
[
C
FI
_MAX_FLASH_BANKS
];
static
char
cfi_mtd_names
[
C
ONFIG_SYS
_MAX_FLASH_BANKS
][
16
];
static
char
cfi_mtd_names
[
C
FI
_MAX_FLASH_BANKS
][
16
];
#ifdef CONFIG_MTD_CONCAT
#ifdef CONFIG_MTD_CONCAT
static
char
c_mtd_name
[
16
];
static
char
c_mtd_name
[
16
];
#endif
#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