summaryrefslogtreecommitdiffstats
path: root/vpnor/test/write_ro.cpp
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-03-14 16:36:27 +1030
committerAndrew Jeffery <andrew@aj.id.au>2019-03-18 10:46:11 +1030
commit0297e5b82ea1bf8b151f8208c5f28a121d82eb4c (patch)
tree463751ccfaf4b0b94f4ad659d8c79a038fe40d6a /vpnor/test/write_ro.cpp
parentf1e547c74563d59f60d918c6fa673bb8cee6e669 (diff)
downloadphosphor-mboxbridge-0297e5b82ea1bf8b151f8208c5f28a121d82eb4c.tar.gz
phosphor-mboxbridge-0297e5b82ea1bf8b151f8208c5f28a121d82eb4c.zip
mboxd: Remove flash API compatibility shim
The flash API compatibility was kept to reduce the line noise in the previous backend patch. Remove the compatibility layer now and convert the remaining call-sites. Change-Id: I4b6e54f4463059a7804918add81e7572db7b7c21 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'vpnor/test/write_ro.cpp')
-rw-r--r--vpnor/test/write_ro.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpnor/test/write_ro.cpp b/vpnor/test/write_ro.cpp
index e6bedd3..5965ebf 100644
--- a/vpnor/test/write_ro.cpp
+++ b/vpnor/test/write_ro.cpp
@@ -43,7 +43,7 @@ int main(void)
test::VpnorRoot root(&ctx->backend, toc, BLOCK_SIZE);
/* Test */
- rc = flash_write(ctx, 0x1000, src, sizeof(src));
+ rc = backend_write(&ctx->backend, 0x1000, src, sizeof(src));
/* Verify we can't write to RO partitions */
assert(rc != 0);
OpenPOWER on IntegriCloud