Skip to content
  • Tejun Heo's avatar
    libata: make PMP support optional · 88fcd562
    Tejun Heo authored
    
    
    Make PMP support optional by adding CONFIG_SATA_PMP and leaving out
    libata-pmp.c if it isn't set.  PMP helpers return constant values if
    PMP support is not enabled and PMP declarations alias non-PMP
    counterparts.  This makes the compiler to leave out PMP related part
    out and LLDs to use non-PMP counterparts automatically.
    
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    88fcd562