aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tidspbridge
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2012-09-11 01:31:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-11 15:09:31 -0400
commitc37a1747acbfc83641338a29952fff99bff6deb0 (patch)
tree48b6561fd719b1753a619feb34b2241d2348afa1 /drivers/staging/tidspbridge
parent86f9150c90cf75448341cee69e74cbfca56e252e (diff)
staging: tidspbridge: Prepare for irqs.h removal
Let's define some things locally to avoid breaking build when irqs.h is removed. This is needed for the ARM common zImage support. Cc: Omar Ramirez Luna <omar.ramirez@ti.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/tidspbridge')
-rw-r--r--drivers/staging/tidspbridge/core/dsp-clock.c2
-rw-r--r--drivers/staging/tidspbridge/core/tiomap3430.c4
-rw-r--r--drivers/staging/tidspbridge/core/wdt.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/drivers/staging/tidspbridge/core/dsp-clock.c b/drivers/staging/tidspbridge/core/dsp-clock.c
index c7df34e6b60..7eac01e5fe0 100644
--- a/drivers/staging/tidspbridge/core/dsp-clock.c
+++ b/drivers/staging/tidspbridge/core/dsp-clock.c
@@ -16,6 +16,8 @@
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 */ 17 */
18 18
19#define L4_34XX_BASE 0x48000000
20
19#include <linux/types.h> 21#include <linux/types.h>
20 22
21/* ----------------------------------- Host OS */ 23/* ----------------------------------- Host OS */
diff --git a/drivers/staging/tidspbridge/core/tiomap3430.c b/drivers/staging/tidspbridge/core/tiomap3430.c
index a19bf5ce58b..012c5a0cc6c 100644
--- a/drivers/staging/tidspbridge/core/tiomap3430.c
+++ b/drivers/staging/tidspbridge/core/tiomap3430.c
@@ -415,10 +415,10 @@ static int bridge_brd_start(struct bridge_dev_context *dev_ctxt,
415 /* Assert RST1 i.e only the RST only for DSP megacell */ 415 /* Assert RST1 i.e only the RST only for DSP megacell */
416 if (!status) { 416 if (!status) {
417 /* 417 /*
418 * XXX: ioremapping MUST be removed once ctrl 418 * XXX: OMAP343X_CTRL_BASE ioremapping MUST be removed once ctrl
419 * function is made available. 419 * function is made available.
420 */ 420 */
421 void __iomem *ctrl = ioremap(OMAP343X_CTRL_BASE, SZ_4K); 421 void __iomem *ctrl = ioremap(0x48002000, SZ_4K);
422 if (!ctrl) 422 if (!ctrl)
423 return -ENOMEM; 423 return -ENOMEM;
424 424
diff --git a/drivers/staging/tidspbridge/core/wdt.c b/drivers/staging/tidspbridge/core/wdt.c
index 870f934f4f3..1ed1474d0b5 100644
--- a/drivers/staging/tidspbridge/core/wdt.c
+++ b/drivers/staging/tidspbridge/core/wdt.c
@@ -25,7 +25,8 @@
25#include <dspbridge/host_os.h> 25#include <dspbridge/host_os.h>
26 26
27 27
28#define OMAP34XX_WDT3_BASE (L4_PER_34XX_BASE + 0x30000) 28#define OMAP34XX_WDT3_BASE (0x49000000 + 0x30000)
29#define INT_34XX_WDT3_IRQ 36
29 30
30static struct dsp_wdt_setting dsp_wdt; 31static struct dsp_wdt_setting dsp_wdt;
31 32