projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
imx: iomux-v3: cosmetic: Reorganize definitions
[oweals/u-boot.git]
/
arch
/
arm
/
lib
/
spl.c
diff --git
a/arch/arm/lib/spl.c
b/arch/arm/lib/spl.c
index f568f619cb0c8f58eab91178ba68accda845ef41..301f082ea3e877c4e186909105e96362d26d60e2 100644
(file)
--- a/
arch/arm/lib/spl.c
+++ b/
arch/arm/lib/spl.c
@@
-45,7
+45,7
@@
void __weak board_init_f(ulong dummy)
asm volatile("mov sp, %0\n" : : "r"(CONFIG_SPL_STACK));
/* Clear the BSS. */
- memset(__bss_start, 0, __bss_end
__
- __bss_start);
+ memset(__bss_start, 0, __bss_end - __bss_start);
/* Set global data pointer. */
gd = &gdata;