rv1126-uboot/common
Simon Glass 6bda55a38c x86: Do relocation before clearing BSS
The BSS region may overlap with relocations. If we clear BSS we will
overwrite the start of the relocation area. This doesn't matter when running
from SPI flash, since it is read-only. But when relocating 64-bit U-Boot
from one place in RAM to another, relocation will fail because some of its
relocations have been zeroed.

To fix this, put the ELF fixup call before the BSS clearing call.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2017-02-06 11:38:46 +08:00
..
eeprom
init board_init.c: Always use memset() 2017-01-20 15:38:01 -05:00
spl spl: Allow PCH drivers to be used in SPL 2017-02-06 11:38:46 +08:00
Kconfig Drop prt_mpc5xxx_clks() in favour of print_cpuinfo() 2017-01-25 17:38:44 -05:00
Makefile
autoboot.c
bedbug.c
board_f.c x86: Do relocation before clearing BSS 2017-02-06 11:38:46 +08:00
board_info.c generic-board: make show_board_info a weak function 2016-11-28 15:10:32 -05:00
board_r.c x86: board_r: Set the global data pointer after relocation 2017-02-06 11:38:46 +08:00
bootm.c
bootm_os.c bootm: qnx: Disable data cache before booting QNX image 2017-01-20 15:38:05 -05:00
bootretry.c
bootstage.c
bouncebuf.c
cli.c
cli_hush.c
cli_readline.c
cli_simple.c
command.c
console.c console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL 2017-02-06 11:38:46 +08:00
cros_ec.c
ddr_spd.c
dfu.c cmd: dfu: Add error handling for board_usb_init 2016-11-03 11:55:25 +01:00
dlmalloc.c
dlmalloc.src
edid.c
env_attr.c
env_callback.c
env_common.c
env_dataflash.c
env_eeprom.c
env_embedded.c tools/env: Correct include kconfig 2016-11-23 23:41:23 -08:00
env_ext4.c
env_fat.c
env_flags.c
env_flash.c
env_mmc.c
env_nand.c
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sata.c
env_sf.c
env_ubi.c
exports.c
fb_mmc.c disk: convert CONFIG_EFI_PARTITION to Kconfig 2017-01-28 08:47:42 -05:00
fb_nand.c
fdt_support.c libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY 2016-12-02 20:54:34 -07:00
flash.c
hash.c
hwconfig.c
ide.c
image-android.c
image-fdt.c libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY 2016-12-02 20:54:34 -07:00
image-fit.c splash: add support for loading splash from a FIT image 2017-01-13 17:40:38 +01:00
image-sig.c image: Combine image_sig_algo with image_sign_info 2016-11-21 14:07:31 -05:00
image-sparse.c
image.c common/image.c: Use correct suffixes for binary sizes 2017-01-20 15:37:59 -05:00
iomux.c console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL 2017-02-06 11:38:46 +08:00
iotrace.c
kallsyms.c
kgdb.c
kgdb_stubs.c
lcd.c
lcd_console.c
lcd_console_rotation.c
lcd_simplefb.c
lynxkdi.c
main.c
malloc_simple.c malloc_simple: Add debug statements to memalign_simple 2017-01-28 14:04:34 -05:00
memsize.c
menu.c
miiphyutil.c common: miiphyutil: Add helper function for mdio bus name 2016-12-20 07:40:04 +01:00
s_record.c
sata.c sata: fix sata command can not being executed bug 2016-11-28 19:49:47 -05:00
scsi.c scsi: dm: Unbind all scsi based block devices before new scan 2017-01-09 11:25:20 -07:00
splash.c
splash_source.c splash: fix splash source flags check 2017-01-13 20:45:25 +01:00
stdio.c stdio: Correct numbering logic in stdio_probe_device() 2016-11-25 17:59:30 -07:00
system_map.c
update.c
usb.c
usb_hub.c
usb_kbd.c console: Don't enable CONFIG-CONSOLE_MUX, etc. in SPL 2017-02-06 11:38:46 +08:00
usb_storage.c usb: storage: Show number of storage devices detected for DM_USB 2017-01-17 10:26:21 +01:00
xyzModem.c xyz-modem: Change getc timeout loop waiting 2016-11-28 19:49:48 -05:00