aboutsummaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorAbdellatif El Khlifi2023-04-17 10:11:58 +0100
committerTom Rini2023-04-27 17:01:15 -0400
commit56722fafd9b2a017930030e9b50c5784f64545db (patch)
tree3d21d49d97b97f5c8579a43c5d4211f04d6fa4de /test/dm/Makefile
parenta6d7f1958ac402a2a099bd8c809cd061cd531c69 (diff)
sandbox64: add a test case for UCLASS_NVMXIP
provide a test for NVM XIP devices The test case allows to make sure of the following: - The NVM XIP QSPI devices are probed - The DT entries are read correctly - the data read from the flash by the NVMXIP block driver is correct Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index e15bdbf04bc..c8534b5cfa8 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (c) 2013 Google, Inc
+# Copyright 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
obj-$(CONFIG_UT_DM) += test-dm.o
@@ -17,6 +18,10 @@ obj-$(CONFIG_UT_DM) += test-uclass.o
obj-$(CONFIG_UT_DM) += core.o
obj-$(CONFIG_UT_DM) += read.o
obj-$(CONFIG_UT_DM) += phys2bus.o
+ifeq ($(CONFIG_NVMXIP_QSPI)$(CONFIG_SANDBOX64),yy)
+obj-y += nvmxip.o
+endif
+
ifneq ($(CONFIG_SANDBOX),)
ifeq ($(CONFIG_ACPIGEN),y)
obj-y += acpi.o