Home
last modified time | relevance | path

Searched hist:"80 ef700f8df1f85dd3b0880584e2e2a998a9b3dd" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/common/spl/
H A Dspl_nand.c80ef700f8df1f85dd3b0880584e2e2a998a9b3dd Mon Jun 06 08:16:58 UTC 2016 Boris Brezillon <boris.brezillon@free-electrons.com> spl: nand: support redundant u-boot image

On modern NAND it's more than recommended to have a backup copy of the
u-boot binary to recover from corruption: bitflips are quite common on
MLC NANDs, and the read-disturbance will corrupt your u-boot partitition
more quickly than what you would see on an SLC NAND.

Add an extra Kconfig option to specify the offset of the redundant u-boot
image.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
[scottwood: added ifdef to fix build break]
Signed-off-by: Scott Wood <oss@buserror.net>
/rk3399_rockchip-uboot/drivers/mtd/nand/
H A DKconfig80ef700f8df1f85dd3b0880584e2e2a998a9b3dd Mon Jun 06 08:16:58 UTC 2016 Boris Brezillon <boris.brezillon@free-electrons.com> spl: nand: support redundant u-boot image

On modern NAND it's more than recommended to have a backup copy of the
u-boot binary to recover from corruption: bitflips are quite common on
MLC NANDs, and the read-disturbance will corrupt your u-boot partitition
more quickly than what you would see on an SLC NAND.

Add an extra Kconfig option to specify the offset of the redundant u-boot
image.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
[scottwood: added ifdef to fix build break]
Signed-off-by: Scott Wood <oss@buserror.net>