summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2010-09-13 08:26:39 +0200
committerReinhard Meyer <u-boot@emk-elektronik.de>2010-10-05 16:58:57 +0200
commitc8f6d84d10d324e0b0462e09629f210b046e1018 (patch)
tree7bc6edf5e06a0cdc0049eb29f1b104ad8df35532 /arch/nios2
parent125637c57265de980bd0d8e7d35f4b9c3d5264e1 (diff)
downloadtalos-obmc-uboot-c8f6d84d10d324e0b0462e09629f210b046e1018.tar.gz
talos-obmc-uboot-c8f6d84d10d324e0b0462e09629f210b046e1018.zip
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 'arch/nios2')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud