summaryrefslogtreecommitdiff
path: root/board/keymile/common
diff options
context:
space:
mode:
authorAnton Staaf <robotboy@chromium.org>2011-06-13 11:40:40 (GMT)
committerWolfgang Denk <wd@denx.de>2011-07-28 13:36:32 (GMT)
commitd961c188b205bb821c16d8d9b932456d2fb79211 (patch)
tree7933e1498e8b5f38b40a484151b2a314f804f751 /board/keymile/common
parent9bac35f57bd41ae3f096dee1e747b90ca80fe044 (diff)
downloadu-boot-d961c188b205bb821c16d8d9b932456d2fb79211.tar.xz
ext2: Simplify partial sector access logic
Previously reading or writing zero full sectors (reading the end of one sector and the beginning of the next for example) was special cased and involved stack allocating a second sector buffer. This change uses the same code path for this case as well as when there are a non-zero number of full sectors to access. The result is easier to read and reduces the maximum stack used. Signed-off-by: Anton Staaf <robotboy@chromium.org> Cc: Andy Fleming <afleming@freescale.com> Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'board/keymile/common')
0 files changed, 0 insertions, 0 deletions