vpnor: Rename mboxd_pnor_partition_table sources to backend
Change-Id: I6f0fff4ab54e011c1765fc04186e899754787641
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/vpnor/test/create_read_window_oob.cpp b/vpnor/test/create_read_window_oob.cpp
index d1e7e64..8652d72 100644
--- a/vpnor/test/create_read_window_oob.cpp
+++ b/vpnor/test/create_read_window_oob.cpp
@@ -13,7 +13,7 @@
#include <cassert>
#include <cstring>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00001000,00002000,80,ECC,READONLY",
diff --git a/vpnor/test/create_read_window_partition_exists.cpp b/vpnor/test/create_read_window_partition_exists.cpp
index 7ff3018..5469615 100644
--- a/vpnor/test/create_read_window_partition_exists.cpp
+++ b/vpnor/test/create_read_window_partition_exists.cpp
@@ -16,7 +16,7 @@
#include <fstream>
#include <vector>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
// A read window assumes that the toc is located at offset 0,
// so create dummy partition at arbitrary offset 0x1000.
diff --git a/vpnor/test/create_read_window_partition_invalid.cpp b/vpnor/test/create_read_window_partition_invalid.cpp
index 4d28b2c..9083ee2 100644
--- a/vpnor/test/create_read_window_partition_invalid.cpp
+++ b/vpnor/test/create_read_window_partition_invalid.cpp
@@ -13,7 +13,7 @@
#include <cassert>
#include <cstring>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00002000,00003000,80,ECC,READONLY",
diff --git a/vpnor/test/create_read_window_remap.cpp b/vpnor/test/create_read_window_remap.cpp
index f81d1bc..5e25412 100644
--- a/vpnor/test/create_read_window_remap.cpp
+++ b/vpnor/test/create_read_window_remap.cpp
@@ -16,7 +16,7 @@
#include <fstream>
#include <vector>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
static const auto BLOCK_SIZE = 4096;
static const auto ERASE_SIZE = BLOCK_SIZE;
diff --git a/vpnor/test/create_read_window_size.cpp b/vpnor/test/create_read_window_size.cpp
index 4e8cb5d..17240c9 100644
--- a/vpnor/test/create_read_window_size.cpp
+++ b/vpnor/test/create_read_window_size.cpp
@@ -13,7 +13,7 @@
#include <cassert>
#include <experimental/filesystem>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
static const auto BLOCK_SIZE = 4096;
static const auto ERASE_SIZE = BLOCK_SIZE;
diff --git a/vpnor/test/create_read_window_straddle_partitions.cpp b/vpnor/test/create_read_window_straddle_partitions.cpp
index bdc3fa5..7b09ff6 100644
--- a/vpnor/test/create_read_window_straddle_partitions.cpp
+++ b/vpnor/test/create_read_window_straddle_partitions.cpp
@@ -13,7 +13,7 @@
#include <cassert>
#include <cstring>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=ONE,00001000,00002000,80,ECC,READONLY",
diff --git a/vpnor/test/create_write_window_ro_partition.cpp b/vpnor/test/create_write_window_ro_partition.cpp
index 59d4a0d..d6e07e5 100644
--- a/vpnor/test/create_write_window_ro_partition.cpp
+++ b/vpnor/test/create_write_window_ro_partition.cpp
@@ -12,7 +12,7 @@
#include <cassert>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00001000,00002000,80,ECC,READONLY",
diff --git a/vpnor/test/create_write_window_rw_partition.cpp b/vpnor/test/create_write_window_rw_partition.cpp
index ed6f3dd..1e5b46c 100644
--- a/vpnor/test/create_write_window_rw_partition.cpp
+++ b/vpnor/test/create_write_window_rw_partition.cpp
@@ -12,7 +12,7 @@
#include <cassert>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00001000,00002000,80,ECC,READWRITE",
diff --git a/vpnor/test/create_write_window_unmapped.cpp b/vpnor/test/create_write_window_unmapped.cpp
index d7f76fd..ecf5280 100644
--- a/vpnor/test/create_write_window_unmapped.cpp
+++ b/vpnor/test/create_write_window_unmapped.cpp
@@ -12,7 +12,7 @@
#include <cassert>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
static constexpr auto BLOCK_SIZE = 0x1000;
static constexpr auto ERASE_SIZE = BLOCK_SIZE;
diff --git a/vpnor/test/dump_flash.cpp b/vpnor/test/dump_flash.cpp
index f285a61..2d5dc5d 100644
--- a/vpnor/test/dump_flash.cpp
+++ b/vpnor/test/dump_flash.cpp
@@ -14,7 +14,7 @@
#include <cassert>
#include <cstring>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
struct test_context
{
diff --git a/vpnor/test/read_patch.cpp b/vpnor/test/read_patch.cpp
index 4d541f6..0d3b267 100644
--- a/vpnor/test/read_patch.cpp
+++ b/vpnor/test/read_patch.cpp
@@ -13,7 +13,7 @@
#include <cassert>
-#include "vpnor/mboxd_pnor_partition_table.h"
+#include "vpnor/backend.h"
static constexpr auto BLOCK_SIZE = 0x1000;
static constexpr auto ERASE_SIZE = BLOCK_SIZE;