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
be9f3c8b
Commit
be9f3c8b
authored
Dec 05, 2012
by
Sergei Poselenov
Browse files
RT #80404. M2S: Optimization for the default value of the "loadaddr".
parent
0471fa57
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/configs/m2s-som.h
View file @
be9f3c8b
...
...
@@ -290,11 +290,20 @@
"console=ttyS0,57600 panic=10"
#define CONFIG_BOOTCOMMAND "run flashboot"
/*
* Macro for the "loadaddr". The most optimal load address
* for the non-compressed uImage is the kernel link address
* (CONFIG_SYS_RAM_BASE + 0x8000) minus sizeof uImage header (0x40),
* so the kernel start address would be loaded just to the right
* place.
*/
#define UIMAGE_LOADADDR 0xA0007FC0
/*
* Short-cuts to some useful commands (macros)
*/
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=" MK_STR(
CONFIG_SYS_RAM_BASE
) "\0" \
"loadaddr=" MK_STR(
UIMAGE_LOADADDR
) "\0" \
"ethaddr=C0:B1:3C:83:83:83\0" \
"ipaddr=172.17.4.219\0" \
"serverip=172.17.0.1\0" \
...
...
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