summaryrefslogtreecommitdiffstats
path: root/vpnor/test/force_readonly_toc.cpp
Commit message (Collapse)AuthorAgeFilesLines
* vpnor: Rename pnor_partition_table sources to tableAndrew Jeffery2019-03-191-1/+1
| | | | | Change-Id: I95c5129aa81a7b4a4d88ce2f7edf6a10a3c94b98 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* vpnor: Rename pnor_partition_defs sources to ffsAndrew Jeffery2019-03-191-1/+1
| | | | | Change-Id: I1bb919eec2a12403474d58540c52beab8664b8b8 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* vpnor: Consolidate backend and mboxd_pnor_partition_table sourcesAndrew Jeffery2019-03-191-8/+8
| | | | | Change-Id: Ibf66c3a86c2a50e2304fb968f8c912ede84cf719 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* mboxd: Add a backend abstraction layer to mboxd.Evan Lojewski2019-03-181-5/+3
| | | | | | | | | | | | | | | | | | | | | | Introduce a backend abstraction, enabling multiple implementations to be compiled in at once. This change formally abstracts the two existing backends, mtd and vpnor. With the backend abstraction in place, subsequent backends are easier to implement. This change is based of Evan's work and he retains authorship credit. I (AJ) have reworked the patch to pass the vpnor tests, refactored some parts to enable broader use of const structures and others to clarify the initialisation sequences. Due to the existing lack of abstraction the patch has unfortunately wide-ranging impacts. I've whittled it down as much as I consider reasonable. Change-Id: I29984a36dae4ea86ec00b853d2a756f0b9afb3ec Signed-off-by: Evan Lojewski <github@meklort.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* vpnor: Shuffle and rework includes for sanityAndrew Jeffery2019-03-151-2/+3
| | | | | | | | | | Include ordering and whether or not C linkage is forced by `extern "C"` blocks can cause headaches at link time. Ensure that all C dependencies are included in an `extern C` block before other includes occur. Also include the C++ versions of string.h and assert.h Change-Id: Ia96f6044d40c8eccb907b65924efcf62ac7a89c3 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* vpnor: test: Add force_readonly_tocAndrew Jeffery2019-01-081-0/+77
This ensures that the ToC presented to the host indicates that it is not writable. The virtual PNOR implementation has never properly honoured writes to the ToC, so lets at least tell the host. As the code has not yet been fixed to implement the desired behaviour, add the test to XFAIL_TESTS. Change-Id: Ia13a0f907f916d6dec3979b17685d54bc578a106 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenPOWER on IntegriCloud