Commit f4bc335b authored by Andrew Jeffery's avatar Andrew Jeffery

vpnor: Rename mboxd_pnor_partition_table sources to backend

Change-Id: I6f0fff4ab54e011c1765fc04186e899754787641
Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <andrew@aj.id.au>
parent e7d26ccc
......@@ -36,7 +36,7 @@
#include "transport_mbox.h"
#include "transport_dbus.h"
#include "windows.h"
#include "vpnor/mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
const char* USAGE =
"\nUsage: %s [-V | --version] [-h | --help] [-v[v] | --verbose] [-s | --syslog]\n"
......
......@@ -13,7 +13,7 @@
#include "backend.h"
#include "protocol.h"
#include "transport.h"
#include "vpnor/mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
#include "windows.h"
enum api_version {
......
......@@ -31,7 +31,7 @@ extern "C" {
#include <stdexcept>
#include <string>
#include "mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
namespace err = sdbusplus::xyz::openbmc_project::Common::Error;
namespace fs = std::experimental::filesystem;
......
......@@ -16,7 +16,7 @@ extern "C" {
#include "common.h"
#include "mboxd.h"
#include "mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
void vpnor_default_paths(vpnor_partition_paths* paths)
{
......
......@@ -28,7 +28,7 @@ extern "C" {
#include <string>
#include "common.h"
#include "mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
namespace openpower
{
......
......@@ -4,7 +4,7 @@
extern "C" {
#include "backend.h"
#include "mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
};
#include "pnor_partition_table.hpp"
......
......@@ -10,8 +10,8 @@
extern "C" {
#include "backend.h"
#include "common.h"
#include "mboxd_pnor_partition_table.h"
#include "pnor_partition_defs.h"
#include "vpnor/backend.h"
}
struct mbox_context;
......
......@@ -13,7 +13,7 @@ extern "C" {
#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",
......
......@@ -16,7 +16,7 @@ extern "C" {
#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.
......
......@@ -13,7 +13,7 @@ extern "C" {
#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",
......
......@@ -16,7 +16,7 @@ extern "C" {
#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;
......
......@@ -13,7 +13,7 @@ extern "C" {
#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;
......
......@@ -13,7 +13,7 @@ extern "C" {
#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",
......
......@@ -12,7 +12,7 @@ extern "C" {
#include <cassert>
#include "vpnor/mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00001000,00002000,80,ECC,READONLY",
......
......@@ -12,7 +12,7 @@ extern "C" {
#include <cassert>
#include "vpnor/mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
const std::string toc[] = {
"partition01=HBB,00001000,00002000,80,ECC,READWRITE",
......
......@@ -12,7 +12,7 @@ extern "C" {
#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;
......
......@@ -14,7 +14,7 @@ extern "C" {
#include <cassert>
#include <cstring>
#include "vpnor/mboxd_pnor_partition_table.h"
#include "vpnor/backend.h"
struct test_context
{
......
......@@ -13,7 +13,7 @@ extern "C" {
#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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment