]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nvmxip: move header to include
authorRui Miguel Silva <rui.silva@linaro.org>
Mon, 12 Jun 2023 08:09:16 +0000 (09:09 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 19 Jun 2023 18:34:16 +0000 (14:34 -0400)
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>
include/nvmxip.h [moved from drivers/mtd/nvmxip/nvmxip.h with 100% similarity]
test/dm/nvmxip.c

similarity index 100%
rename from drivers/mtd/nvmxip/nvmxip.h
rename to include/nvmxip.h
index e934748eb5d2707e9afc7aa5bdfd1d6e4d3a3ad8..89bf481f61617d22a734758a6566fe3cc03c3e49 100644 (file)
@@ -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