summaryrefslogtreecommitdiffstats
path: root/vpnor/test/dump_flash.cpp
Commit message (Collapse)AuthorAgeFilesLines
* vpnor: Rename mboxd_pnor_partition_table sources to backendAndrew Jeffery2019-03-191-1/+1
| | | | | Change-Id: I6f0fff4ab54e011c1765fc04186e899754787641 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* mboxd: Add a backend abstraction layer to mboxd.Evan Lojewski2019-03-181-3/+2
| | | | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | 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>
* clang-format: Pull the format rules from the openbmc/docs repoWilliam A. Kennington III2018-10-121-3/+4
| | | | | | | | | | This makes it consistent with other openbmc projects for c++ formatting. Tested: Run through the unit test suite. Change-Id: I92030ce5b42de01360393687fb438faf26f36ac8 Signed-off-by: William A. Kennington III <wak@google.com>
* mboxd: Rename mboxd_msg to transport_mboxAndrew Jeffery2018-09-121-1/+1
| | | | | Change-Id: I0f4e206648c02a98fa938a7e582470c8d90904f1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* test: Move vpnor tests to vpnor directoryAndrew Jeffery2018-04-041-0/+92
In the spirit of things that are together should be kept together. The repository layout now better corresponds to upstream with the exception of the vpnor directory and some modifications to Makefile.am Change-Id: I16d59a3c9ee846065f6a8c83eb4459715d525f3f Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
OpenPOWER on IntegriCloud