summaryrefslogtreecommitdiffstats
path: root/common/state/backend_bucket_direct.c
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/backend_bucket_direct.c
parenteaf17f417739d35082875b971148edb5771bafb7 (diff)
downloadbarebox-238008b4bd8f263762c654c42e6176e3629977c1.tar.gz
barebox-238008b4bd8f263762c654c42e6176e3629977c1.tar.xz
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/backend_bucket_direct.c')
0 files changed, 0 insertions, 0 deletions