layerscape: sysupgrade: get rid of platform_pre_upgrade()
authorRafał Miłecki <rafal@milecki.pl>
Wed, 17 Jul 2019 06:02:05 +0000 (08:02 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 22 Jul 2019 12:27:37 +0000 (14:27 +0200)
commit3b30ff29757258a0e16f51a86cdbb2a74a67ff7e
tree3378d73f2d9e2e9b6a8cf5f1a015d07523067afa
parentfc2df4f7050adae3ca6284a499fa914e07cba70b
layerscape: sysupgrade: get rid of platform_pre_upgrade()

1) RAMFS_COPY_BIN and RAMFS_COPY_DATA can be defined at top of the file
   like it's done for all other targets.
2) fw_printenv.lock can be created one step later in the
   platform_do_upgrade(). It seems to be working well on many other
   targets.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/layerscape/base-files/lib/upgrade/platform.sh