1) nand_do_upgrade() is always called by a target code 2) nand_do_upgrade() starts with calling platform_nand_pre_upgrade() It means there is no need for the platform_nand_pre_upgrade() callback at all. All code that was present there could bo moved & simplly called by a target right before the nand_do_upgrade(). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
||
|---|---|---|
| .. | ||
| base-files | ||
| image | ||
| patches-4.14 | ||
| config-4.14 | ||
| Makefile | ||
| modules.mk | ||