lantiq: add Linux 5.4 support as testing kernel version
[openwrt/staging/mkresin.git] / target / linux / lantiq / patches-5.4 / 0152-lantiq-VPE.patch
index 9e39427c6a2f9b1d40a9b9829ac4c0f2416e62a0..f4540558249c0284ec287244dba740f9efb9fc03 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/mips/Kconfig
 +++ b/arch/mips/Kconfig
-@@ -2318,6 +2318,12 @@ config MIPS_VPE_LOADER
+@@ -2375,6 +2375,12 @@ config MIPS_VPE_LOADER
          Includes a loader for loading an elf relocatable object
          onto another VPE and running it.
  
  {
 --- a/arch/mips/lantiq/prom.c
 +++ b/arch/mips/lantiq/prom.c
-@@ -36,10 +36,14 @@ unsigned long physical_memsize = 0L;
+@@ -34,10 +34,14 @@ unsigned long physical_memsize = 0L;
   */
  static struct ltq_soc_info soc_info;
  
  #define read_c0_tcstatus()            __read_32bit_c0_register($2, 1)
  #define write_c0_tcstatus(val)                __write_32bit_c0_register($2, 1, val)
  
-@@ -377,6 +380,8 @@ do {                                                                       \
+@@ -378,6 +381,8 @@ do {                                                                       \
  #define write_vpe_c0_vpeconf0(val)    mttc0(1, 2, val)
  #define read_vpe_c0_vpeconf1()                mftc0(1, 3)
  #define write_vpe_c0_vpeconf1(val)    mttc0(1, 3, val)