added board support for compex wpj558
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.14 / 507-MIPS-ath79-prom-add-myloader-support.patch
index 67c1faf9b078f9819cf5aeab569afb98b5e2e329..407755e7d6a8b59c0206981a2a1cbc49030c6f5c 100644 (file)
@@ -8,7 +8,7 @@
  
  #include "common.h"
  
-@@ -69,6 +70,37 @@ static const char * __init ath79_prom_fi
+@@ -69,6 +70,40 @@ static const char * __init ath79_prom_fi
        return ret;
  }
  
@@ -29,6 +29,9 @@
 +      case DEVID_COMPEX_WPE72:
 +              ath79_prom_append_cmdline("board", "WPE72");
 +              break;
++      case DEVID_COMPEX_WPJ558:
++              ath79_prom_append_cmdline("board", "WPJ558");
++              break;
 +      default:
 +              pr_warn("prom: unknown device id: %x\n", mylo->did);
 +              return 0;