summaryrefslogtreecommitdiffstats
path: root/common/state/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-23 08:47:55 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 18:43:53 +0200
commit238008b4bd8f263762c654c42e6176e3629977c1 (patch)
treedcbe74dcfd82afdc9ec9541d9b6f63f2f8ca0ad4 /common/state/Makefile
parenteaf17f417739d35082875b971148edb5771bafb7 (diff)
downloadbarebox-238008b4bd8f263762c654c42e6176e3629977c1.tar.gz
state: Drop cache bucket
The cache bucket sits between the storage functions and the backend storage. We only read from the storage once, so there is no need to cache anything. The real purpose of the cache bucket is to keep the -EUCLEAN information when a NAND block needs to be rewritten and to keep the read buffers as long as the backend iterates over all buckets trying to find the one we want to use. This can be coded easier and more obvious in the backend code, so drop the cache bucket. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/state/Makefile')
-rw-r--r--common/state/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/state/Makefile b/common/state/Makefile
index d3518fe..fcf9add 100644
--- a/common/state/Makefile
+++ b/common/state/Makefile
@@ -5,4 +5,3 @@ obj-y += backend_format_raw.o
obj-y += backend_storage.o
obj-y += backend_bucket_direct.o
obj-$(CONFIG_MTD) += backend_bucket_circular.o
-obj-y += backend_bucket_cached.o