diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2010-09-13 08:26:39 +0200 |
---|---|---|
committer | Reinhard Meyer <u-boot@emk-elektronik.de> | 2010-10-05 16:58:57 +0200 |
commit | c8f6d84d10d324e0b0462e09629f210b046e1018 (patch) | |
tree | 7bc6edf5e06a0cdc0049eb29f1b104ad8df35532 /drivers/serial | |
parent | 125637c57265de980bd0d8e7d35f4b9c3d5264e1 (diff) | |
download | u-boot-imx-c8f6d84d10d324e0b0462e09629f210b046e1018.zip u-boot-imx-c8f6d84d10d324e0b0462e09629f210b046e1018.tar.gz u-boot-imx-c8f6d84d10d324e0b0462e09629f210b046e1018.tar.bz2 |
at91: Add arch_preboot_os which disables PIT in a faster way
When disabled the PIT runs until it reaches the CPIV value.
The Linux PIT driver stops the PIT and waits until it stopped. This can
take over 100ms. Simply stopping in u-boot isn't sufficient as the PIT
will still be running when Linux is waiting until it stopped.
So, we stop it in u-boot by setting the compare value to a value slightly
greater than the current running counter to make the PIT stopped in short
time.
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Diffstat (limited to 'drivers/serial')
0 files changed, 0 insertions, 0 deletions