Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-stm32
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
Sami Nurmenniemi
u-boot-stm32
Commits
0d9d76fd
Commit
0d9d76fd
authored
9 years ago
by
Yuri Tikhonov
Browse files
Options
Downloads
Patches
Plain Diff
RT #112561. stm32f7-som: enable OF and multi-image boot support
Signed-off-by:
Yuri Tikhonov
<
yur@emcraft.com
>
parent
b55fed18
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/configs/stm32f7-som.h
+14
-1
14 additions, 1 deletion
include/configs/stm32f7-som.h
with
14 additions
and
1 deletion
include/configs/stm32f7-som.h
+
14
−
1
View file @
0d9d76fd
...
@@ -390,7 +390,13 @@
...
@@ -390,7 +390,13 @@
#define CONFIG_BOOTARGS "stm32_platform=stm32f7-som " \
#define CONFIG_BOOTARGS "stm32_platform=stm32f7-som " \
"console=ttyS0,115200 panic=10"
"console=ttyS0,115200 panic=10"
#define LOADADDR "0xC0007FC0"
/*
* These are the good addresses to get Image data right at the 'Load Address'
* (0xC0008000), and thus avoid additional uImage relocation:
* - linux-2.6: 0xC0007FC0 (reserve place for uImage header)
* - linux-4.2: 0xC0007FB4 (reserve place for 2-files multi-image header)
*/
#define LOADADDR "0xC0007FB4"
#define REV_EXTRA_ENV \
#define REV_EXTRA_ENV \
"envmboot=run args addip;bootm ${envmaddr}\0" \
"envmboot=run args addip;bootm ${envmaddr}\0" \
...
@@ -430,4 +436,11 @@
...
@@ -430,4 +436,11 @@
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_SETUP_MEMORY_TAGS
#define CONFIG_CMDLINE_TAG
#define CONFIG_CMDLINE_TAG
/*
* Enable support for booting with FDT
*/
#define CONFIG_OF_LIBFDT
#define CONFIG_OF_FORCE_RELOCATE
#define CONFIG_SYS_BOOTMAPSZ CONFIG_SYS_RAM_SIZE
#endif
/* __CONFIG_H */
#endif
/* __CONFIG_H */
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