]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: rawnand: meson: refactor use of 'meson_nfc_cmd_access()'
authorArseniy Krasnov <avkrasnov@salutedevices.com>
Mon, 26 Aug 2024 13:17:09 +0000 (16:17 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 28 Aug 2024 14:05:45 +0000 (16:05 +0200)
commit33acfbf41819d06e13bcccf1ffdf7d01160f4b1e
treea26cda593997942b3f132967adbac2615b73a8bd
parent9905e77edaa9b4a43285e587317c600ffa7be7ca
mtd: rawnand: meson: refactor use of 'meson_nfc_cmd_access()'

Move call 'meson_nfc_cmd_seed()' and check for 'NAND_NEED_SCRAMBLING'
to 'meson_nfc_cmd_access()', thus removing code duplication.

Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/r/20240826131710.29746-3-avkrasnov@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/mtd/nand/raw/meson_nand.c