aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Miguel Silva <rui.silva@linaro.org>2023-06-12 09:09:16 +0100
committerTom Rini <trini@konsulko.com>2023-06-19 14:34:16 -0400
commitdc3abd8006c5fe715449302f9aaf79db190454fc (patch)
tree54987f22787b42c55089213bb79a2d281cae0356
parent2974e2cd287003a21d73b04ea6d11ede423db464 (diff)
downloadu-boot-dc3abd8006c5fe715449302f9aaf79db190454fc.zip
u-boot-dc3abd8006c5fe715449302f9aaf79db190454fc.tar.gz
u-boot-dc3abd8006c5fe715449302f9aaf79db190454fc.tar.bz2
nvmxip: move header to include
Move header to include to allow external code to get the internal bdev structures to access block device operations. as at it, just add the UCLASS_NVMXIP string so we get the correct output in partitions listing. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
-rw-r--r--include/nvmxip.h (renamed from drivers/mtd/nvmxip/nvmxip.h)0
-rw-r--r--test/dm/nvmxip.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nvmxip/nvmxip.h b/include/nvmxip.h
index f4ef377..f4ef377 100644
--- a/drivers/mtd/nvmxip/nvmxip.h
+++ b/include/nvmxip.h
diff --git a/test/dm/nvmxip.c b/test/dm/nvmxip.c
index e934748..89bf481 100644
--- a/test/dm/nvmxip.c
+++ b/test/dm/nvmxip.c
@@ -17,7 +17,7 @@
#include <linux/bitops.h>
#include <test/test.h>
#include <test/ut.h>
-#include "../../drivers/mtd/nvmxip/nvmxip.h"
+#include <nvmxip.h>
/* NVMXIP devices described in the device tree */
#define SANDBOX_NVMXIP_DEVICES 2