coreboot-kgpe-d16/src/mainboard/emulation/qemu-armv7
Aaron Durbin 696689bfb1 qemu-armv7: fix cbfs media implementation
When using qemu-armv7 to load coreboot.rom with the -kernel
flag the rom is offset by 0x10000. Therefore only allow
mappings within 0x10000 and 0x10000 + CONFIG_ROM_SIZE.

TEST= QEMU_AUDIO_DRV=none qemu-system-arm -M vexpress-a9 \
	-m 1024M -nographic \
	-kernel coreboot-builds/emulation_qemu-armv7/coreboot.rom

Change-Id: Ifec5761a7d54685f664c54efaa31949b8cc94bad
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/9935
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-22 15:48:11 +02:00
..
board_info.txt boardstatus: Add category "emulation". 2014-01-19 03:17:18 +01:00
cbmem.c New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
devicetree.cb
Kconfig CBFS: Automate ROM image layout and remove hardcoded offsets 2015-04-14 09:01:27 +02:00
Kconfig.name kconfig: automatically include mainboards 2015-04-18 08:31:08 +02:00
mainboard.c mainboard: Trivial - drop trailing blank lines at EOF 2014-07-08 13:54:47 +02:00
Makefile.inc New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
media.c qemu-armv7: fix cbfs media implementation 2015-04-22 15:48:11 +02:00
memlayout.ld New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
mmio.c qemu-armv7: 32/64 2014-10-16 17:34:19 +02:00
romstage.c romstages: use common run_ramstage() 2015-03-20 19:28:25 +01:00
timer.c qemu-armv7: Trivial style fixes 2014-12-19 23:47:39 +01:00