layerscape: use wrapped nand_do_upgrade for traverse-ls1043 boards
authorMathew McBride <matt@traverse.com.au>
Mon, 4 Mar 2019 05:05:27 +0000 (16:05 +1100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 10 Mar 2019 16:48:23 +0000 (17:48 +0100)
commit6a2705a52f794cf3fd6e1d217224c13455aeedea
treef9414eede1cfd402f3ee55474cdbd2286fddf23c
parent17468cc090a276819a3e62a2b88d5284fbfd285c
layerscape: use wrapped nand_do_upgrade for traverse-ls1043 boards

Traverse LS1043 boards are set up with a dual-system layout, rootfs{1,2} and kernel{1,2}.
nand_do_upgrade can do the image replacement work we were doing before as long as we give it the partition names.
This greatly simplifies the /lib/upgrade/platform.sh.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
target/linux/layerscape/base-files/lib/upgrade/platform.sh