commit | 3f0cf51dabacc2724731c5079a60ea989103bb8f | [log] [tgz] |
---|---|---|
author | Bartlomiej Sieka <tur@semihalf.com> | Wed Oct 01 15:26:27 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sat Oct 18 21:54:00 2008 +0200 |
tree | 4dc6613e45d329ac3c307aa60c6886008e3c1bfb | |
parent | e83cc06375ac2bea0830c6ed0f9d8fdc3c1b27d5 [diff] |
flash: factor out adjusting of Flash address to the end of sector The upcoming automatic update feature needs the ability to adjust an address within Flash to the end of its respective sector. Factor out this functionality to a new function flash_sect_roundb(). Signed-off-by: Rafal Czubak <rcz@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>