summaryrefslogtreecommitdiff
path: root/package/ltq-vmmc/patches/100-ifxmips.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-29 21:19:26 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-05-29 21:19:26 +0000
commitfd8ccf9c652556047dee58330dd8543dbf345d7b (patch)
treeb9da76295132f5efbc18c34b9de3db80de664403 /package/ltq-vmmc/patches/100-ifxmips.patch
parent28ff8acfd1357992354357df119a56e683b52326 (diff)
[lantiq]
* backport 2.6.8 patches to .39 / .32.33 * remove lqtapi * bump tapi/dsl to .39 * migrate to new ltq_ style api * add amazon_se support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27026 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ltq-vmmc/patches/100-ifxmips.patch')
-rw-r--r--package/ltq-vmmc/patches/100-ifxmips.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/ltq-vmmc/patches/100-ifxmips.patch b/package/ltq-vmmc/patches/100-ifxmips.patch
index 95974ecbaf..a6d1c00392 100644
--- a/package/ltq-vmmc/patches/100-ifxmips.patch
+++ b/package/ltq-vmmc/patches/100-ifxmips.patch
@@ -33,7 +33,7 @@
#if defined SYSTEM_DANUBE
-#include <asm/ifx/ifx_gpio.h>
-+#include <xway/xway.h>
++#include <lantiq_soc.h>
+
#else
#error no system selected
@@ -158,7 +158,7 @@
+# define ifx_gptu_timer_free lq_free_timer
+
+
-+# define bsp_mask_and_ack_irq lq_mask_and_ack_irq
++# define bsp_mask_and_ack_irq ltq_mask_and_ack_irq
+#else
+# include <asm/ifx/ifx_regs.h>
+# include <asm/ifx/ifx_gptu.h>
@@ -443,14 +443,14 @@
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28))
+IFX_uint32_t ifx_get_cp1_size(IFX_void_t)
+{
-+ return 2;
++ return 1;
+}
+
-+unsigned int *lq_get_cp1_base(void);
++unsigned int *ltq_get_cp1_base(void);
+
+IFX_uint32_t *ifx_get_cp1_base(IFX_void_t)
+{
-+ return lq_get_cp1_base();
++ return ltq_get_cp1_base();
+}
+#endif
+
@@ -501,7 +501,7 @@
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,28))
+# include <lantiq.h>
+# include <irq.h>
-+# include <xway/xway.h>
++# include <lantiq_soc.h>
+# include <gpio.h>
+#define IFXMIPS_MPS_SRAM ((u32 *)(KSEG1 + 0x1F200000))
+#define IFXMIPS_MPS_BASE_ADDR (KSEG1 + 0x1F107000)