mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2026-05-25 01:29:35 +02:00
The current test module cannot be used for testing platforms (make check) that do not have support for NFIT. In order to get the ndctl tests working, we need a module which can emulate NVDIMM devices without relying on ACPI/NFIT. The aim of this proposed module is to implement a similar functionality to the existing module but without the ACPI dependencies. This RFC series is split into reviewable and compilable chunks. This patch adds a new driver and registers two nvdimm bus needed for ndctl make check. Signed-off-by: Santosh Sivaraj <santosh@fossix.org> Link: https://lore.kernel.org/r/20201222042240.2983755-2-santosh@fossix.org Signed-off-by: Dan Williams <dan.j.williams@intel.com>
290 B
290 B
SPDX-License-Identifier: GPL-2.0
ccflags-y := -I$(srctree)/drivers/nvdimm/ ccflags-y += -I$(srctree)/drivers/acpi/nfit/
obj-m += nfit_test.o obj-m += nfit_test_iomap.o
ifeq ($(CONFIG_ACPI_NFIT),m) nfit_test-y := nfit.o else nfit_test-y := ndtest.o endif nfit_test_iomap-y := iomap.o