Re: [PATCH RESEND 4/4] m68k/atari: fix SCC initialization for debug console

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, 26 May 2014, Geert Uytterhoeven wrote:

On Mon, May 26, 2014 at 10:56 AM, Michael Schmitz <schmitzmic@xxxxxxxxx> 
wrote:
+       /* Wait for 5 PCLK cycles, which is about 63 CPU cycles */
+       /* 5 / 7.9872 MHz = approx. 0.63 us = 63 / 100 MHz */

The original Falcon and TT had a 16 MHz CPU clock IIRC.

This loop is meant to introduce a minimum delay, right? So assuming a 
100 MHz CPU will only prolong the delay on slower CPUs, which is safe.

Right. It's intended to cope with CPU upgrades.

-- 

--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux