summaryrefslogtreecommitdiff
path: root/common/exports.c
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2010-09-13 06:26:39 (GMT)
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-10-05 14:58:57 (GMT)
commitc8f6d84d10d324e0b0462e09629f210b046e1018 (patch)
tree7bc6edf5e06a0cdc0049eb29f1b104ad8df35532 /common/exports.c
parent125637c57265de980bd0d8e7d35f4b9c3d5264e1 (diff)
downloadu-boot-c8f6d84d10d324e0b0462e09629f210b046e1018.tar.xz
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 'common/exports.c')
0 files changed, 0 insertions, 0 deletions