Skip to content
  • Jacob Pan's avatar
    x86, mrst: add more timer config options · a875c019
    Jacob Pan authored
    
    
    Always-on local APIC timer (ARAT) has been introduced to Medfield, along
    with the platform APB timers we have more timer configuration options
    between Moorestown and Medfield.
    
    This patch adds run-time detection of avaiable timer features so that
    we can treat Medfield as a variant of Moorestown and set up the optimal
    timer options for each platform. i.e.
    
    Medfield: per cpu always-on local APIC timer
    Moorestown: per cpu APB timer
    
    Manual override is possible via cmdline option x86_mrst_timer.
    
    Signed-off-by: default avatarJacob Pan <jacob.jun.pan@linux.intel.com>
    LKML-Reference: <1274295685-6774-4-git-send-email-jacob.jun.pan@linux.intel.com>
    Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
    a875c019