diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-09 13:15:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-09 13:15:51 -0400 |
commit | 321d7b4d875a77552a969dd6ea5bbed2644fcb0c (patch) | |
tree | df15c6c203dcdd35fe15f7dae4ff024f82d5a618 /arch/mips/lib/reloc.c | |
parent | 1e1437d9f8b5be362afdd0212dbae6c41f53f3d8 (diff) | |
parent | 06b51f77f5be60200a5f0037509c191b102e5e00 (diff) |
Merge branch '2023-08-09-misc-cleanups' into next
- Rework the arch linker scripts to be consistent for all, support
Kconfig fragments in the board directory and fix some Kconfig options
that were hex-type by default of 0 not 0x0.
Diffstat (limited to 'arch/mips/lib/reloc.c')
-rw-r--r-- | arch/mips/lib/reloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c index 67c8af2f35..9cf6809f40 100644 --- a/arch/mips/lib/reloc.c +++ b/arch/mips/lib/reloc.c @@ -146,7 +146,7 @@ void relocate_code(ulong start_addr_sp, gd_t *new_gd, ulong relocaddr) /* Clear the .bss section */ bss_start = (uint8_t *)((unsigned long)__bss_start + off); - bss_len = (unsigned long)&__bss_end - (unsigned long)__bss_start; + bss_len = (unsigned long)__bss_end - (unsigned long)__bss_start; memset(bss_start, 0, bss_len); /* Jump to the relocated U-Boot */ |