Skip to content
GitLab
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
99f0ddb1
Commit
99f0ddb1
authored
Dec 06, 2012
by
Vladimir Khusainov
Browse files
RT80404 Removed the "reset SF2" workaround. This is no longer needed now
that the hardware starts up correctly on reset / power-on.
parent
be9f3c8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
board/emcraft/m2s-som/board.c
View file @
99f0ddb1
...
...
@@ -29,10 +29,9 @@
#include
<asm/arch/ddr.h>
/*
* TBD: move to config or convert at run-time?
* Generate DDR timings depending on the following DDR clock
*/
#define M2S_DDR_MHZ
160
#define M2S_DDR_MHZ
(CONFIG_SYS_M2S_SYSREF / (1000 * 1000))
/*
* Common conversion macros used for DDR cfg
...
...
cpu/arm_cortexm3/m2s/clock.c
View file @
99f0ddb1
...
...
@@ -32,16 +32,6 @@ static unsigned long clock[CLOCK_END];
*/
static
void
clock_mss_init
(
void
)
{
/*
* Check if PERSIST_CC is set. If it is, it means that
* FACC is in reset and its registers hasn't initialized yet.
* The workaround is to de-assert the reset and perform
* the software reset making FACC initialize properly.
*/
if
(
M2S_SYSREG
->
mssddr_facc1_cr
&
(
1
<<
25
))
{
M2S_SYSREG
->
mssddr_facc1_cr
&=
~
(
1
<<
25
);
reset_cpu
(
0
);
}
/*
* Analog voltage = 3.3v. Libero appears to ignore this
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment