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:54:31 +0000 (06:54 +0200)
commit491e839262fd2bf7417c57e12ebb7383011dae1c
treea847a527bfe5ab9cb89c029ec4175f808be911f9
parent4acc0db480da85327a64c2afce07f6147e561de1
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