u-boot-brain/common
Simon Glass 7a80de4641 image: Correct the OS location code to work on sandbox
A recent change broke the 'bootm' command on sandbox. The root cause is
using a pointer as an address. Conversion from pointer to address needs to
use map_to_sysmem() so that sandbox can do the right thing. The problem was
pre-existing but uncovered by a recent commit.

Fix this. Also move fit_get_end() to the C file to avoid needing to include
mapmem.h (and thus asm/io.h) everywhere.

Fixes: 1fec3c5d (common/image.c: Make boot_get_ramdisk() perform a check for Android images)

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-02-26 08:53:10 -07:00
..
init x86: Fix board init breakage 2016-01-15 08:09:46 -05:00
spl spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS 2016-02-19 09:31:37 -05:00
autoboot.c autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set 2016-02-05 12:47:20 +08:00
bedbug.c
board_f.c Remove unused CONFIG_MODEM_SUPPORT option and associated dead code. 2016-02-08 10:22:44 -05:00
board_info.c generic-board: allow showing custom board info 2015-08-13 07:19:36 -04:00
board_r.c board_r: fix a typo in comment block 2016-02-08 10:22:41 -05:00
bootm_os.c VxWorks: fixup MAC address for VxWorks 2015-12-12 15:56:08 -05:00
bootm.c image: Correct the OS location code to work on sandbox 2016-02-26 08:53:10 -07:00
bootretry.c
bootstage.c
bouncebuf.c
cli_hush.c hush: Add rudimentary support for PS1 and PS2 2016-02-08 10:10:37 -05:00
cli_readline.c spl, common, serial: build SPL without serial support 2015-08-12 20:47:13 -04:00
cli_simple.c common: cli_simple: use strlcpy instead of strcpy 2016-01-13 21:05:26 -05:00
cli.c common: cli: avoid memory leak 2016-01-04 12:25:35 -05:00
command.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
console.c dm: video: Add a temporary work-around for old stdout var 2016-02-11 21:37:17 +01:00
cros_ec.c
ddr_spd.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
dlmalloc.c malloc: solve dead code issue in memalign() 2016-02-08 10:22:38 -05:00
dlmalloc.src
edid.c edid: Add a function to read detailed monitor timings 2015-05-13 09:24:10 -07:00
env_attr.c
env_callback.c common: env: initialize scalar variable 2016-01-04 12:25:35 -05:00
env_common.c
env_dataflash.c
env_eeprom.c eeprom: Add bus argument to eeprom_init() 2015-11-21 21:50:26 -05:00
env_embedded.c
env_fat.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
env_flags.c tools: fix env_flags build 2016-02-15 20:58:25 +00:00
env_flash.c
env_mmc.c env_mmc: support overriding mmc dev from board code 2016-01-25 10:39:46 -05:00
env_nand.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
env_nowhere.c
env_nvram.c
env_onenand.c
env_remote.c
env_sf.c dm: env_sf: fix saveenv() to use driver model 2016-01-27 08:28:40 -08:00
env_ubi.c env_ubi.c: Correct pointer error in env load 2015-11-19 07:32:49 +01:00
exports.c
fb_mmc.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
fb_nand.c sparse: Rename the file and header 2015-11-12 13:18:59 -05:00
fdt_support.c Revert "fdt_support: Add multi-serial support for stdout fixup" 2016-01-20 19:10:12 -07:00
flash.c
hash.c hash.c: Conditionally compile hash_command, static hash_show 2016-01-13 21:05:08 -05:00
hwconfig.c
image-android.c image: fix support for Android boot images with no ramdisk 2015-10-11 17:12:10 -04:00
image-fdt.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
image-fit.c image: Correct the OS location code to work on sandbox 2016-02-26 08:53:10 -07:00
image-sig.c
image-sparse.c sparse: Rename the file and header 2015-11-12 13:18:59 -05:00
image.c image: fix getenv_bootm_size() function again 2016-02-08 10:22:40 -05:00
iomux.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
iotrace.c
kallsyms.c
Kconfig Move all command code into its own directory 2016-01-25 10:39:43 -05:00
kgdb_stubs.c Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
kgdb.c
lcd_console_rotation.c
lcd_console.c
lcd_simplefb.c
lcd.c lcd: fix the color testpattern in 16bit mode 2016-01-24 00:38:40 +01:00
lynxkdi.c
main.c Remove unused CONFIG_MODEM_SUPPORT option and associated dead code. 2016-02-08 10:22:44 -05:00
Makefile Remove unused CONFIG_MODEM_SUPPORT option and associated dead code. 2016-02-08 10:22:44 -05:00
malloc_simple.c Merge git://git.denx.de/u-boot-x86 2015-10-21 20:47:40 -04:00
memsize.c Revert "common/memsize.c: Simplify RAM size detection" 2016-02-10 08:34:42 -05:00
menu.c
miiphyutil.c common: miiphyutil: avoid memory leak 2015-12-05 18:22:24 -05:00
s_record.c
splash_source.c splash_source: add support for filesystem formatted sata 2015-11-16 12:01:35 +01:00
splash.c
stdio.c stdio: Correct a build error with driver model 2016-01-21 20:42:36 -07:00
system_map.c
update.c update: tftp: dfu: Extend update_tftp() function to support DFU 2015-09-07 13:41:05 +02:00
usb_hub.c dm: usb: Avoid time delays in sandbox tests 2015-11-19 20:27:50 -07:00
usb_kbd.c usb: kbd: Prevent out of bound access 2016-01-25 22:00:46 +01:00
usb_storage.c usb: Define USB_MAX_STOR_DEV in only one place 2016-01-20 19:06:23 -07:00
usb.c common: usb: fix checking condition 2016-01-16 07:06:55 +01:00
xyzModem.c