Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
268cf2a2
Commit
268cf2a2
authored
Oct 14, 2011
by
Yuri Tikhonov
Browse files
RT72064. stm3220g-eval: use byte access during BURST EXT-MEM cfg
Signed-off-by:
Yuri Tikhonov
<
yur@emcraft.com
>
parent
3a6e24a8
Changes
1
Show whitespace changes
Inline
Side-by-side
board/stm/stm3220g-eval/board.c
View file @
268cf2a2
...
...
@@ -180,7 +180,7 @@ int dram_init(void)
stm32f2_gpout_set
(
&
ctrl_gpio
,
1
);
/* Step.3 */
*
(
volatile
u
16
*
)(
CONFIG_SYS_RAM_BASE
+
0x4101F
)
=
0
;
*
(
volatile
u
8
*
)(
CONFIG_SYS_RAM_BASE
+
0x4101F
)
=
0
;
/* Step.4-5 */
stm32f2_gpout_set
(
&
ctrl_gpio
,
0
);
...
...
@@ -190,7 +190,7 @@ int dram_init(void)
STM32_FSMC
->
cs
[
i
].
btr
=
0x0010FFFF
;
/* Step.7 */
rv
=
*
(
volatile
u
16
*
)(
CONFIG_SYS_RAM_BASE
+
0x000000
);
rv
=
*
(
volatile
u
8
*
)(
CONFIG_SYS_RAM_BASE
+
0x000000
);
/* Step.8 */
STM32_FSMC
->
cs
[
i
].
bcr
=
0x00005059
;
...
...
@@ -201,7 +201,7 @@ int dram_init(void)
stm32f2_gpout_set
(
&
ctrl_gpio
,
1
);
/* Step.10 */
*
(
volatile
u
16
*
)(
CONFIG_SYS_RAM_BASE
+
0x4101F
)
=
0
;
*
(
volatile
u
8
*
)(
CONFIG_SYS_RAM_BASE
+
0x4101F
)
=
0
;
/* Step.11 */
stm32f2_gpout_set
(
&
ctrl_gpio
,
0
);
...
...
Write
Preview
Supports
Markdown
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