diff options
author | Laurent Vivier <Laurent@lvivier.info> | 2008-12-21 08:30:42 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2008-12-21 08:30:42 +0000 |
commit | e11b806d1c62d0c1380373cbd6ba79a3e058c554 (patch) | |
tree | fa19b84fac340ca4813840d14e17ad89912f3415 /drivers/timer.c | |
parent | cd90eca8ce011ae36d11a746cbed6ca581fbd40f (diff) | |
download | openbios-e11b806d1c62d0c1380373cbd6ba79a3e058c554.zip openbios-e11b806d1c62d0c1380373cbd6ba79a3e058c554.tar.gz openbios-e11b806d1c62d0c1380373cbd6ba79a3e058c554.tar.bz2 |
qemu better support
This patches copies all needed ppc files to qemu and modifies them.
The generated OpenBIOS image must be loaded at adresse 0xfff00000 by Qemu.
It is able to load Yaboot from disk and Yaboot is able to load Linux, but Linux hangs somewhere... of course it needs more work (but this cleans up my patch queue).
Thank you to Blue Swirl and Aurelien Jarno for their help.
Signed-off-by: Laurent Vivier <Laurent@lvivier.info>
git-svn-id: svn://coreboot.org/openbios/openbios-devel@301 f158a5a8-5612-0410-a976-696ce0be7e32
Diffstat (limited to 'drivers/timer.c')
-rw-r--r-- | drivers/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/timer.c b/drivers/timer.c index 80abcdb..5be3722 100644 --- a/drivers/timer.c +++ b/drivers/timer.c @@ -81,7 +81,7 @@ void setup_timers(void) unsigned long get_timer_freq(void) { - return 100000000 / 4; + return 10000000 / 4; } void udelay(unsigned int usecs) |