imx6: fix platform checking

Fix platform checking when configuring networks and when doing sysupgrade.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47168
This commit is contained in:
Luka Perkov
2015-10-10 12:35:02 +00:00
parent c2425ac649
commit 9c7336e0f9
2 changed files with 8 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ platform_check_image() {
local board=$(imx6_board_name)
case "$board" in
gw54xx)
*gw5*)
nand_do_platform_check $board $1
return $?;
;;
@@ -22,7 +22,7 @@ platform_pre_upgrade() {
local board=$(imx6_board_name)
case "$board" in
gw54xx)
*gw5*)
nand_do_upgrade "$1"
;;
esac