Skip to content
Commit 3f0cf51d authored by Bartlomiej Sieka's avatar Bartlomiej Sieka Committed by Wolfgang Denk
Browse files

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: default avatarRafal Czubak <rcz@semihalf.com>
Signed-off-by: default avatarBartlomiej Sieka <tur@semihalf.com>
Signed-off-by: default avatarStefan Roese <sr@denx.de>
parent e83cc063
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment