ARM: uniphier: remove workaround for the NAND write protect
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Feb 2020 11:54:41 +0000 (20:54 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 27 Feb 2020 17:40:22 +0000 (02:40 +0900)
commit1320fa2e55d2180573fd48c71f097e1ec7dc4833
tree74971c34ed19e507fdebdce423fcceb34754c3bb
parentce4e9ff4d2366f7f55815305161ecdc444f5c010
ARM: uniphier: remove workaround for the NAND write protect

This workaround was previously needed for LD4, Pro4, sLD8, Pro5
SoCs. The boot ROM does not touch this register for PXs2/LD6b or
later.

Now that the reset signal of the Denali NAND controller is always
asserted in board_init() then deasserted in the driver, the
WRITE_PROTECT register gets back to the default value, which means
the write protect is deasserted.

This workaround can go away entirely.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_late_init.c