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
8f8bd76b
Commit
8f8bd76b
authored
6 years ago
by
Troy Kisky
Browse files
Options
Downloads
Patches
Plain Diff
fsl_esdhc: s/priv->esdhc_regs/priv->c.esdhc_regs/
Signed-off-by:
Troy Kisky
<
troy.kisky@boundarydevices.com
>
parent
9eedcc9f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/mmc/fsl_esdhc.c
+4
-4
4 additions, 4 deletions
drivers/mmc/fsl_esdhc.c
with
4 additions
and
4 deletions
drivers/mmc/fsl_esdhc.c
+
4
−
4
View file @
8f8bd76b
...
@@ -698,7 +698,7 @@ static int esdhc_change_pinstate(struct udevice *dev)
...
@@ -698,7 +698,7 @@ static int esdhc_change_pinstate(struct udevice *dev)
static
void
esdhc_reset_tuning
(
struct
mmc
*
mmc
)
static
void
esdhc_reset_tuning
(
struct
mmc
*
mmc
)
{
{
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc
*
regs
=
priv
->
esdhc_regs
;
struct
fsl_esdhc
*
regs
=
priv
->
c
.
esdhc_regs
;
if
(
priv
->
flags
&
ESDHC_FLAG_USDHC
)
{
if
(
priv
->
flags
&
ESDHC_FLAG_USDHC
)
{
if
(
priv
->
flags
&
ESDHC_FLAG_STD_TUNING
)
{
if
(
priv
->
flags
&
ESDHC_FLAG_STD_TUNING
)
{
...
@@ -712,7 +712,7 @@ static void esdhc_reset_tuning(struct mmc *mmc)
...
@@ -712,7 +712,7 @@ static void esdhc_reset_tuning(struct mmc *mmc)
static
int
esdhc_set_timing
(
struct
mmc
*
mmc
)
static
int
esdhc_set_timing
(
struct
mmc
*
mmc
)
{
{
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc
*
regs
=
priv
->
esdhc_regs
;
struct
fsl_esdhc
*
regs
=
priv
->
c
.
esdhc_regs
;
u32
mixctrl
;
u32
mixctrl
;
mixctrl
=
readl
(
&
regs
->
mixctrl
);
mixctrl
=
readl
(
&
regs
->
mixctrl
);
...
@@ -751,7 +751,7 @@ static int esdhc_set_timing(struct mmc *mmc)
...
@@ -751,7 +751,7 @@ static int esdhc_set_timing(struct mmc *mmc)
static
int
esdhc_set_voltage
(
struct
mmc
*
mmc
)
static
int
esdhc_set_voltage
(
struct
mmc
*
mmc
)
{
{
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
mmc
->
dev
);
struct
fsl_esdhc
*
regs
=
priv
->
esdhc_regs
;
struct
fsl_esdhc
*
regs
=
priv
->
c
.
esdhc_regs
;
int
ret
;
int
ret
;
priv
->
signal_voltage
=
mmc
->
signal_voltage
;
priv
->
signal_voltage
=
mmc
->
signal_voltage
;
...
@@ -814,7 +814,7 @@ static int fsl_esdhc_execute_tuning(struct udevice *dev, uint32_t opcode)
...
@@ -814,7 +814,7 @@ static int fsl_esdhc_execute_tuning(struct udevice *dev, uint32_t opcode)
{
{
struct
fsl_esdhc_plat
*
plat
=
dev_get_platdata
(
dev
);
struct
fsl_esdhc_plat
*
plat
=
dev_get_platdata
(
dev
);
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
dev
);
struct
fsl_esdhc_priv
*
priv
=
dev_get_priv
(
dev
);
struct
fsl_esdhc
*
regs
=
priv
->
esdhc_regs
;
struct
fsl_esdhc
*
regs
=
priv
->
c
.
esdhc_regs
;
struct
mmc
*
mmc
=
&
plat
->
mmc
;
struct
mmc
*
mmc
=
&
plat
->
mmc
;
u32
irqstaten
=
readl
(
&
regs
->
irqstaten
);
u32
irqstaten
=
readl
(
&
regs
->
irqstaten
);
u32
irqsigen
=
readl
(
&
regs
->
irqsigen
);
u32
irqsigen
=
readl
(
&
regs
->
irqsigen
);
...
...
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