diff -u -X /home/tbird/dontdiff -ruN linux-2.6.7.orig/include/asm-i386/mach-default/mach_time.h linux-2.6.7/include/asm-i386/mach-default/mach_time.h --- linux-2.6.7.orig/include/asm-i386/mach-default/mach_time.h 2004-06-15 22:19:13.000000000 -0700 +++ linux-2.6.7/include/asm-i386/mach-default/mach_time.h 2004-07-12 17:30:47.689382864 -0700 @@ -89,6 +89,7 @@ * RTC registers show the second which has precisely just started. * Let's hope other operating systems interpret the RTC the same way. */ +#ifndef CONFIG_RTC_NO_SYNC_ON_READ /* read RTC exactly on falling edge of update flag */ for (i = 0 ; i < 1000000 ; i++) /* may take up to 1 second... */ if (CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP) @@ -96,7 +97,10 @@ for (i = 0 ; i < 1000000 ; i++) /* must try at least 2.228 ms */ if (!(CMOS_READ(RTC_FREQ_SELECT) & RTC_UIP)) break; - do { /* Isn't this overkill ? UIP above should guarantee consistency */ +/* The following is probably overkill because + * UIP above should guarantee consistency */ +#endif + do { sec = CMOS_READ(RTC_SECONDS); min = CMOS_READ(RTC_MINUTES); hour = CMOS_READ(RTC_HOURS); diff -u -X /home/tbird/dontdiff -ruN linux-2.6.7.orig/init/Kconfig linux-2.6.7/init/Kconfig --- linux-2.6.7.orig/init/Kconfig 2004-06-15 22:19:52.000000000 -0700 +++ linux-2.6.7/init/Kconfig 2004-07-12 17:39:06.000000000 -0700 @@ -218,6 +218,29 @@ This option enables access to kernel configuration file and build information through /proc/config.gz. +menuconfig FASTBOOT + bool "Fast boot options" + help + Say Y here to select among various options that can decrease + kernel boot time. These options commonly involve providing + hardcoded values for some parameters that the kernel usually + determines automatically. + + This option is useful primarily on embedded systems. + + If unsure, say N. + +config RTC_NO_SYNC_ON_READ + bool "No SYNC on read of Real Time Clock" if FASTBOOT + default n + help + Enabling this option will allow for a faster boot (up to 1 second). + The CMOS Real Time Clock is read aligned by default. That means a + series of reads of the RTC are done until it's verified that the RTC's + state has just changed. If you enable this feature, then over several + boot cycles your system clock may drift from the correct value. + + If unsure, say N. menuconfig EMBEDDED bool "Configure standard kernel features (for small systems)"