config DIMM
    bool
    select MEM_DEVICE

config MEM_DEVICE
    bool

config NVDIMM
    bool
    default y
    depends on (PC || PSERIES || ARM_VIRT)
    select MEM_DEVICE