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:53:16 +0000 (06:53 +0200)
commit9200b4a6a085e145696cba9056c4f536014536c0
treeb0b3a4ce11f863d41fc421bacb866d6df3f6cb29
parentc7cdbf29c050cd8490a5a920235086d8e2ef54b9
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