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
1a3619cf
Commit
1a3619cf
authored
8 years ago
by
Stefan Wahren
Committed by
Tom Rini
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
mmc: add MMC_VERSION_5_1
Signed-off-by:
Stefan Wahren
<
stefan.wahren@i2se.com
>
parent
333463d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/mmc/mmc.c
+3
-0
3 additions, 0 deletions
drivers/mmc/mmc.c
include/mmc.h
+1
-0
1 addition, 0 deletions
include/mmc.h
with
4 additions
and
0 deletions
drivers/mmc/mmc.c
+
3
−
0
View file @
1a3619cf
...
...
@@ -1227,6 +1227,9 @@ static int mmc_startup(struct mmc *mmc)
case
7
:
mmc
->
version
=
MMC_VERSION_5_0
;
break
;
case
8
:
mmc
->
version
=
MMC_VERSION_5_1
;
break
;
}
/* The partition data may be non-zero but it is only
...
...
This diff is collapsed.
Click to expand it.
include/mmc.h
+
1
−
0
View file @
1a3619cf
...
...
@@ -49,6 +49,7 @@
#define MMC_VERSION_4_41 MAKE_MMC_VERSION(4, 4, 1)
#define MMC_VERSION_4_5 MAKE_MMC_VERSION(4, 5, 0)
#define MMC_VERSION_5_0 MAKE_MMC_VERSION(5, 0, 0)
#define MMC_VERSION_5_1 MAKE_MMC_VERSION(5, 1, 0)
#define MMC_MODE_HS (1 << 0)
#define MMC_MODE_HS_52MHz (1 << 1)
...
...
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