]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: nand biterr - Add support for nand biterr command
authorBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Tue, 29 Jun 2021 07:16:11 +0000 (12:46 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 26 Oct 2021 19:26:45 +0000 (15:26 -0400)
commit87a92e024c954e8547f8f95006230f00f7a30b1f
treeb45baeac49148ce62d0d62181cdcbc40d93841f3
parent11027b92c6807b0cad9e145b38462ff87d23b72c
cmd: nand biterr - Add support for nand biterr command

The command shall be used to induce bit errors in the nand page
manually. The code flips a bit in the specified offset without
changing the ECC. This helps to see how the software handles the
error.

The patch is ported from
https://patchwork.ozlabs.org/project/uboot/patch/\
1325691123-19565-1-git-send-email-holger.brunck@keymile.com

The implementation is inspired from
'mtd-utils/nand-utils/nandflipbits.c'

Signed-off-by: Balamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
cmd/nand.c