brcm47xx: sysupgrade: fix device model detection
authorRafał Miłecki <rafal@milecki.pl>
Thu, 26 Sep 2019 04:45:11 +0000 (06:45 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Thu, 26 Sep 2019 04:51:16 +0000 (06:51 +0200)
commit9d95d5e799a3fd2c472cafe7ca5cc987d7183e69
tree054fd8d2528472335a14ca3824b159b3f3a550cd
parentfddea2030e9679c303c07613d9ec162bad9cbf6e
brcm47xx: sysupgrade: fix device model detection

$(board_name) was providing content on "boardtype" (and optionally
"boardnum") NVRAM values. That function requires & expects more specific
and detailed model name extracted from the /proc/cpuinfo.

Fixes: f12a32630ff5 ("treewide: use the generic board_name function")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/brcm47xx/base-files/lib/upgrade/platform.sh