Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
u-boot-stm32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sami Nurmenniemi
u-boot-stm32
Commits
5fcb542b
Commit
5fcb542b
authored
Dec 01, 2012
by
Sergei Poselenov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RT #81023. Implemented different configurations for K61-SOM and K70-SOM
modules running at 120 and 150 MHz.
parent
e3b73277
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
Makefile
Makefile
+15
-1
include/configs/k70-som.h
include/configs/k70-som.h
+6
-0
No files found.
Makefile
View file @
5fcb542b
...
@@ -3236,8 +3236,22 @@ twr-k70f120m_config : unconfig
...
@@ -3236,8 +3236,22 @@ twr-k70f120m_config : unconfig
lpc-lnx-evb_config
:
unconfig
lpc-lnx-evb_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
arm arm_cortexm3 lpc-lnx-evb emcraft lpc178x
@
$(MKCONFIG)
$
(
@:_config
=)
arm arm_cortexm3 lpc-lnx-evb emcraft lpc178x
k61-som_config
\
k61-som-150_config
\
k70-som-150_config
\
k70-som_config
:
unconfig
k70-som_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
arm arm_cortexm3 k70-som emcraft kinetis
@
mkdir
-p
$(obj)
include
@
>
$(obj)
include/config.h
@
[
-z
"
$(
findstring
k61-,
$@
)
"
]
||
\
{
echo
"#define CONFIG_KINETIS_K61"
>>
$(obj)
include/config.h
;
\
echo
"...for K61-SOM"
;
\
}
@[
-z
"$(findstring -150,$@)"
]
||
\
{
echo
"#define CONFIG_KINETIS_150MHZ"
>>$(obj)include/config.h
;
\
echo
"...for 150MHz"
;
\
}
@$(MKCONFIG)
-a
k70-som
arm
arm_cortexm3
k70-som
emcraft
kinetis
lpc4350-eval_config
:
unconfig
lpc4350-eval_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
arm arm_cortexm3 lpc4350-eval hitex lpc18xx
@
$(MKCONFIG)
$
(
@:_config
=)
arm arm_cortexm3 lpc4350-eval hitex lpc18xx
...
...
include/configs/k70-som.h
View file @
5fcb542b
...
@@ -44,9 +44,15 @@
...
@@ -44,9 +44,15 @@
/*
/*
* Choose Kinetis MCU family and maximum core frequency
* Choose Kinetis MCU family and maximum core frequency
* Default is K70 @120MHz and can be redefined by config.h
*/
*/
#ifndef CONFIG_KINETIS_K61
#define CONFIG_KINETIS_K70
#define CONFIG_KINETIS_K70
#endif
#ifndef CONFIG_KINETIS_150MHZ
#define CONFIG_KINETIS_120MHZ
#define CONFIG_KINETIS_120MHZ
#endif
/*
/*
* Enable GPIO driver
* Enable GPIO driver
...
...
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