diff options
author | Nick Spence <nick.spence@freescale.com> | 2008-05-10 14:02:04 -0700 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-12 00:44:24 +0200 |
commit | 02b9b22446e3d7ad6a6382be17a1ce79a7de589b (patch) | |
tree | 1c5e0a843856256fd6f66b13d637ef5e47d5ea57 /common/serial.c | |
parent | c9dca3c3f37d2647aec4509b24b16d15882ae3e4 (diff) | |
download | u-boot-imx-02b9b22446e3d7ad6a6382be17a1ce79a7de589b.zip u-boot-imx-02b9b22446e3d7ad6a6382be17a1ce79a7de589b.tar.gz u-boot-imx-02b9b22446e3d7ad6a6382be17a1ce79a7de589b.tar.bz2 |
Fix offset calculation for multi-type legacy images.
Calculation of tail was incorrect when size % 4 == 0.
New code removes the conditional and does the same thing but with arithmetic
Signed-off-by: Nick Spence <nick.spence@freescale.com>
Diffstat (limited to 'common/serial.c')
0 files changed, 0 insertions, 0 deletions