diff options
author | imp <imp@FreeBSD.org> | 2012-05-29 03:23:18 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2012-05-29 03:23:18 +0000 |
commit | 0a32ad9a42bf3a9fb12e434a103a329932670181 (patch) | |
tree | f5d0127abe14a408f0d0203046a818dcdc562ddd /sys/arm/at91/std.hl200 | |
parent | 2616fac7a2c890a651e7fd1282689b94bcfc1616 (diff) | |
download | FreeBSD-src-0a32ad9a42bf3a9fb12e434a103a329932670181.zip FreeBSD-src-0a32ad9a42bf3a9fb12e434a103a329932670181.tar.gz |
Compute the master clock frequency, so we no longer need to have it
compiled into the kernel. This allows us to boot the same kernel on
machines with different master clock frequencies, so long as we can
determine the main clock frequency accurately. Cleanup the pmc clock
init function so it can be called in early boot so we can use the
serial port just after we call cninit.
# We have two calls to at91_pmc_clock_init for reasons unknown, that will
# be fixed later -- it is harmless for now.
Diffstat (limited to 'sys/arm/at91/std.hl200')
-rw-r--r-- | sys/arm/at91/std.hl200 | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/arm/at91/std.hl200 b/sys/arm/at91/std.hl200 index 3f99b49..f48f723 100644 --- a/sys/arm/at91/std.hl200 +++ b/sys/arm/at91/std.hl200 @@ -6,6 +6,5 @@ makeoptions KERNPHYSADDR=0x20100000 options KERNPHYSADDR=0x20100000 makeoptions KERNVIRTADDR=0xc0100000 options KERNVIRTADDR=0xc0100000 -options AT91C_MASTER_CLOCK=45000000 device at91_board_hl200 |