summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator
Commit message (Collapse)AuthorAgeLines
* ati_radeon: Support PCI virtual not eq bus mapping.Ed Swarthout2010-04-08-4/+6
| | | | | | | | | | | | | | Use pci_bus_to_virt() to convert the bus address from the BARs to virtual address' to eliminate the direct mapping requirement. Rename variables to better match usage (_phys -> _bus or no-suffix) This fixes the mpc8572ds CONFIG_PHYS_64BIT mode failure: "videoboot: Video ROM failed to map!" Tested on mpc8572ds with and without CONFIG_PHYS_64BIT. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
* ati_radeon: return with error when emulator failsEd Swarthout2010-04-08-1/+2
| | | | | | | | | | | | | | | | | Console was being switched to video even if emulator fails and causing this hang: Scanning PCI bus 04 04 00 1095 3132 0104 00 PCIE3 on bus 03 - 04 Video: ATI Radeon video card (1002, 5b60) found @(2:0:0) videoboot: Booting PCI video card bus 2, function 0, device 0 videoboot: Video ROM failed to map! 640x480x8 31kHz 59Hz radeonfb: FIFO Timeout ! Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Tested-by: Anatolij Gustschin <agust@denx.de>
* drivers/bios_emulator: Fix compile error in .depend not being generatedKumar Gala2009-12-17-0/+1
| | | | | | | | | | | | | | | make -C drivers/bios_emulator/ make[2]: Entering directory `drivers/bios_emulator' In file included from atibios.c:49: biosemui.h:47:21: error: biosemu.h: No such file or directory ... x86emu/decode.c:40:28: error: x86emu/x86emui.h: No such file or directory ... Due to lack of proper CPPFLAGS being passed to .depend generation rule Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Leave x86emu op code tables in default sectionEd Swarthout2009-10-12-14/+8
| | | | | | | | Forcing the tables into got2 caused extra relocation when using -mrelocatable. This patch requires any board defining CONFIG_BIOSEMU to use -mrelocatable. Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com> Acked-by: Jin Zhengxiong <Jason.Jin@freescale.com>
* Update Freescale copyrights to remove "All Rights Reserved"Kumar Gala2009-07-29-7/+7
| | | | | | "All Rights Reserved" conflicts with the GPL. Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
* unify HOST_CFLAGS and HOSTCFLAGSMike Frysinger2009-07-23-1/+1
| | | | | | | | The top build system sets up HOSTCFLAGS a bit and exports it, but other places use HOST_CFLAGS instead. Unify the two as HOSTCFLAGS so that the values stay in sync. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* drivers/bios_emulator: Fix gcc 4.4 compiler warningKumar Gala2009-07-23-1/+2
| | | | | | | biosemu.c: In function 'BE_setVGA': biosemu.c:147: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* drivers/bios_emulator: Move conditional compilation to MakefileJean-Christophe PLAGNIOL-VILLARD2008-12-07-48/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* Fix the function conflict in x86emu when DEBUG is onJason Jin2008-10-17-3/+3
| | | | | | | | | The function parse_line() in common/main.c was exposed globally by commit 6636b62a6efc7f14e6e788788631ae7a7fca4537, Result in conflict with the same name funciton in drivers/bios_emulator/x86emu/debug.c when define the DEBUG. This patch fix this by renaming the function in the debug.c file. Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* Big white-space cleanup.Wolfgang Denk2008-05-21-2/+2
| | | | | | | | | | | This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Wipe out assembler warnings while compiling x86 biosemuAnatolij Gustschin2008-02-16-10/+20
| | | | | | | | This patch tries to get rid of some assembler warnings about changed .got2 section type while compiling x86 bios emulator code. Signed-off-by: Anatolij Gustschin <agust@denx.de>
* Fix compiler warnings for PPC systems. Update CHANGELOG.Wolfgang Denk2007-11-18-4/+4
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add BUILD_DIR support for bios emulator.Jason Jin2007-09-07-8/+15
| | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* Bios emulator - fix microblaze toolchain problemMichal Simek2007-08-16-10/+30
| | | | | | | microblaze CPU have problem with bios_emulator code. Microblaze toolchain doesn't support PRAGMA PACK. Signed-off-by: Michal Simek <monstr@monstr.eu>
* Minor fix for bios emulator makefileJason Jin2007-08-09-1/+1
| | | | | | Add $(obj) to LIB avoiding objects be built in the source dir Signed-off-by: Jason Jin <Jason.jin@freescale.com>
* Add CONFIG_BIOSEMU define to guard all the bios emulator codeJason Jin2007-08-09-0/+32
| | | | | | Signed-off-by: Jason Jin <Jason.jin@freescale.com> This patch fix the compile issue on the board that did not enable the bios emulator
* Coding style cleanup. Update CHANGELOG.Wolfgang Denk2007-08-06-4752/+4743
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* This is a BIOS emulator, porting from SciTech for u-boot, mainly forJason Jin2007-08-06-0/+16008
ATI video card BIOS. and can be used for x86 code emulation by some modifications. Signed-off-by: Jason Jin <Jason.jin@freescale.com>