TI816X: Update common OMAP machine specific sources
This patch updates the common machine specific source files with support for TI816X. Signed-off-by: Hemant Pedanekar <hemantp@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
このコミットが含まれているのは:
@@ -110,7 +110,7 @@ static void omap_mask_irq(struct irq_data *d)
|
||||
unsigned int irq = d->irq;
|
||||
int offset = irq & (~(IRQ_BITS_PER_REG - 1));
|
||||
|
||||
if (cpu_is_omap34xx()) {
|
||||
if (cpu_is_omap34xx() && !cpu_is_ti816x()) {
|
||||
int spurious = 0;
|
||||
|
||||
/*
|
||||
@@ -205,6 +205,9 @@ void __init omap_init_irq(void)
|
||||
|
||||
BUG_ON(!base);
|
||||
|
||||
if (cpu_is_ti816x())
|
||||
bank->nr_irqs = 128;
|
||||
|
||||
/* Static mapping, never released */
|
||||
bank->base_reg = ioremap(base, SZ_4K);
|
||||
if (!bank->base_reg) {
|
||||
|
新しいイシューから参照
ユーザーをブロックする