diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-08-15 10:43:26 (GMT) |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-08-31 06:43:41 (GMT) |
commit | 9da5fca55cbf9465052256346f6e61968acedf2f (patch) | |
tree | cdd23c8f7902fc27f0efcf85416e0975ead07547 /board/sunxi/board.c | |
parent | 630cf2e7628502b410622fcfa72bd553a94dfa93 (diff) | |
download | u-boot-9da5fca55cbf9465052256346f6e61968acedf2f.tar.xz |
sunxi_nand_spl: Do not bother writing the spare-area reg in syndrome mode
In syndrome mode we set the NFC_SEQ bit in the command register, so the
spare-area register is not used. Also the value currently being written is
actual wrong, the ecc sits at "column + CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE"
not just CONFIG_NAND_SUNXI_SPL_ECC_PAGE_SIZE.
So the current code only serves to confuse the user -> remove it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/board.c')
0 files changed, 0 insertions, 0 deletions