diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2007-11-20 08:19:56 -0700 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2007-11-20 08:19:56 -0700 |
commit | f92edbd8a0ef16a2b9127cbb564c09685728e4b0 (patch) | |
tree | ae33aacff092561e2c64eabc11a8adc5e2acea6b /drivers/bios_emulator/besys.c | |
parent | efe33035acd5f7c13963a4d52e5aac1b68612ae4 (diff) | |
parent | 9a337ddc154a10a26f117fd147b009abcdeba75a (diff) | |
download | u-boot-imx-f92edbd8a0ef16a2b9127cbb564c09685728e4b0.zip u-boot-imx-f92edbd8a0ef16a2b9127cbb564c09685728e4b0.tar.gz u-boot-imx-f92edbd8a0ef16a2b9127cbb564c09685728e4b0.tar.bz2 |
Merge branch 'origin' into kconfig-for-1.3.1
Diffstat (limited to 'drivers/bios_emulator/besys.c')
-rw-r--r-- | drivers/bios_emulator/besys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bios_emulator/besys.c b/drivers/bios_emulator/besys.c index 8f1d8b2..cb1b0c1 100644 --- a/drivers/bios_emulator/besys.c +++ b/drivers/bios_emulator/besys.c @@ -96,7 +96,7 @@ static u8 *BE_memaddr(u32 addr) else if (addr >= 0xFFFF5 && addr < 0xFFFFE) { /* Return a faked BIOS date string for non-x86 machines */ DB(printf("BE_memaddr - Returning BIOS date\n");) - return BE_biosDate + addr - 0xFFFF5; + return (u8 *)(BE_biosDate + addr - 0xFFFF5); } else if (addr == 0xFFFFE) { /* Return system model identifier for non-x86 machines */ DB(printf("BE_memaddr - Returning model\n");) |