public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Todd Allan <todd_allan@picovex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Patch] OMAP MPU timers fix
Date: Wed, 16 Aug 2006 16:06:30 -0700	[thread overview]
Message-ID: <44E3A4F6.7000004@picovex.com> (raw)

The OMAP OSK5912 board code assumes U-Boot is entered with MPU timer 1 
stopped.  If entered via the reset vector from OS code that left the 
timer running, the Load Timer Register value won't be loaded into the 
timer when the Control Timer Register value is set, as expected.  Since 
the timer is placed into one-shot (not auto-reload) mode, the timer may 
reach zero and stay at zero, causing udelay() to hang.

The attached patch is suggested for the 5912 OSK.  It stops the timer, 
leaving the input reference clock enabled, prior to starting.  A glance 
at the code would indicate that the 1610 Innovator and 730 P2 boards 
could use this fix as well; I can send patches if desired, but have no 
hardware on which to test.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-mputimer-reset.patch
Type: text/x-patch
Size: 1320 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20060816/74f96611/attachment.bin 

                 reply	other threads:[~2006-08-16 23:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44E3A4F6.7000004@picovex.com \
    --to=todd_allan@picovex.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox