[U-Boot] [PATCH v2 2/2] ext2: Simplify partial sector access logic

Detlev Zundel dzu at denx.de
Fri Jul 1 15:30:45 CEST 2011


Hi Anton,

> Previously reading 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 at chromium.org>
> Cc: Andy Fleming <afleming at freescale.com>
> Cc: Detlev Zundel <dzu at denx.de>

Acked-by: Detlev Zundel <dzu at denx.de>

-- 
Of course my password is the same as my pet's name
My macaw's name was Q47pY!3 and I change it every 90 days
                        -- Trevor Linton
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list