]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: raw: rockchip_nfc: add layout structure
authorJohan Jonker <jbx6244@gmail.com>
Mon, 13 Mar 2023 00:28:39 +0000 (01:28 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 6 May 2023 09:28:17 +0000 (17:28 +0800)
commit1b3fcb3c04566038a4f0b3481e9dad78a2dda604
tree3b1ad970b70642b9ad9478956399e693855883ed
parent4473b87b28fac6a9f5b46a1b69431c413a3caefd
mtd: nand: raw: rockchip_nfc: add layout structure

The MTD framework in U-boot is not identical for drivers ported
from Linux. The rockchip_nfc driver was ported with OOB ops functions
while the framework expects a layout structure per chip.
Fix by adding a structure with OOB data and remove unused functions.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
drivers/mtd/nand/raw/rockchip_nfc.c