Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
981db33f
Unverified
Commit
981db33f
authored
Mar 22, 2019
by
Dimitris Papastamos
Committed by
GitHub
Mar 22, 2019
Browse files
Merge pull request #1903 from thloh85-intel/thloh85-integration
driver: synosys: Fix SD MMC not initializing correctly
parents
46d58f80
2baa7270
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/synopsys/emmc/dw_mmc.c
View file @
981db33f
...
...
@@ -426,8 +426,7 @@ void dw_mmc_init(dw_mmc_params_t *params, struct mmc_device_info *info)
memcpy
(
&
dw_params
,
params
,
sizeof
(
dw_mmc_params_t
));
mmio_write_32
(
dw_params
.
reg_base
+
DWMMC_FIFOTH
,
0x103ff
);
dw_params
.
mmc_dev_type
=
info
->
mmc_dev_type
;
mmc_init
(
&
dw_mmc_ops
,
params
->
clk_rate
,
params
->
bus_width
,
params
->
flags
,
info
);
dw_params
.
mmc_dev_type
=
info
->
mmc_dev_type
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment