diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2019-03-18 13:02:01 +1030 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2019-03-19 16:41:12 +1030 |
| commit | 035ad76b8b45a01cc7fcc184e7e72eed69c0ece5 (patch) | |
| tree | c95082574c65841246e901d4eb910e3e598e15c6 /vpnor/test/create_pnor_partition_table.cpp | |
| parent | f4bc335b4fc899509c92c230f746fe90a5aa43d2 (diff) | |
| download | phosphor-mboxbridge-035ad76b8b45a01cc7fcc184e7e72eed69c0ece5.tar.gz phosphor-mboxbridge-035ad76b8b45a01cc7fcc184e7e72eed69c0ece5.zip | |
vpnor: Consolidate backend and mboxd_pnor_partition_table sources
Change-Id: Ibf66c3a86c2a50e2304fb968f8c912ede84cf719
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'vpnor/test/create_pnor_partition_table.cpp')
| -rw-r--r-- | vpnor/test/create_pnor_partition_table.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/vpnor/test/create_pnor_partition_table.cpp b/vpnor/test/create_pnor_partition_table.cpp index f198f29..7af61b7 100644 --- a/vpnor/test/create_pnor_partition_table.cpp +++ b/vpnor/test/create_pnor_partition_table.cpp @@ -1,19 +1,20 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2018 IBM Corp. -#include "config.h" - -#include "vpnor/pnor_partition_table.hpp" -#include <cassert> -#include <cstring> +#include "config.h" extern "C" { +#include "backend.h" #include "test/mbox.h" #include "test/system.h" } +#include "vpnor/pnor_partition_table.hpp" #include "vpnor/test/tmpd.hpp" +#include <cassert> +#include <cstring> + static const auto BLOCK_SIZE = 4 * 1024; static const auto ERASE_SIZE = BLOCK_SIZE; static const auto PNOR_SIZE = 64 * 1024 * 1024; |

