• J
    x86, mrst: add more timer config options · a875c019
    Jacob Pan 提交于
    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: NJacob Pan <jacob.jun.pan@linux.intel.com>
    LKML-Reference: <1274295685-6774-4-git-send-email-jacob.jun.pan@linux.intel.com>
    Acked-by: NThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com>
    a875c019
apb_timer.h 2.1 KB