]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: nand: remove code duplication
authorNikita Kiryanov <nikita@compulab.co.il>
Sun, 8 Nov 2015 15:11:42 +0000 (17:11 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 19:49:34 +0000 (14:49 -0500)
commit483ab3dc8037878ae5dc7af5f0af7bf7ecc36897
tree4a305b09a5961502bc227d3051798346633a8187
parent2cb11b35e8b2b21a00b5d1c1c76404cb65d1ceb9
spl: nand: remove code duplication

Remove code duplication in spl_nand_load_image().

No functional changes.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Igor Grinberg <grinberg@compulab.co.il>
Acked-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
[trini: Add back cast to unsigned long of spl_image.load_addr]
Signed-off-by: Tom Rini <trini@konsulko.com>
common/spl/spl_nand.c