Commit f1e547c7 authored by Committed by Andrew Jeffery
mboxd: Add a backend abstraction layer to mboxd.
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 <firstname.lastname@example.org> Signed-off-by: Andrew Jeffery <email@example.com>
Showing with 1009 additions and 637 deletions
backend.h 0 → 100644
flash.h deleted 100644 → 0
lpc_reset.c deleted 100644 → 0
mtd/Makefile.am.include 0 → 100644
This diff is collapsed.
mtd/backend.h 0 → 100644