imx6: use device-tree compatible for board name
[openwrt/openwrt.git] / target / linux / imx6 / base-files / lib / preinit / 79_move_config
index 7e30292049daf470855fb739e501462fba6a838b..baa7ffe44b031ee418afca9099c5569b7b3f6cd5 100644 (file)
@@ -6,7 +6,9 @@ move_config() {
        local board=$(board_name)
 
        case "$board" in
-       apalis*)
+       toradex,apalis_imx6q-eval |\
+       toradex,apalis_imx6q-ixora |\
+       toradex,apalis_imx6q-ixora-v1.1 )
                if [ -b $(bootpart_from_uuid) ]; then
                        apalis_mount_boot
                        [ -f "/boot/$BACKUP_FILE" ] && mv -f "/boot/$BACKUP_FILE" /