[OMAP850] Changes to memory subsystem
Changes to memory subsystem. Signed-off-by: Zebediah C. McClure <zmc@lurian.net> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
56739a6929
commit
557096fe28
@ -737,7 +737,7 @@ int omap_request_dma(int dev_id, const char *dev_name,
|
|||||||
* id.
|
* id.
|
||||||
*/
|
*/
|
||||||
dma_write(dev_id | (1 << 10), CCR(free_ch));
|
dma_write(dev_id | (1 << 10), CCR(free_ch));
|
||||||
} else if (cpu_is_omap730() || cpu_is_omap15xx()) {
|
} else if (cpu_is_omap7xx() || cpu_is_omap15xx()) {
|
||||||
dma_write(dev_id, CCR(free_ch));
|
dma_write(dev_id, CCR(free_ch));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2339,7 +2339,7 @@ static int __init omap_init_dma(void)
|
|||||||
printk(KERN_INFO "DMA support for OMAP15xx initialized\n");
|
printk(KERN_INFO "DMA support for OMAP15xx initialized\n");
|
||||||
dma_chan_count = 9;
|
dma_chan_count = 9;
|
||||||
enable_1510_mode = 1;
|
enable_1510_mode = 1;
|
||||||
} else if (cpu_is_omap16xx() || cpu_is_omap730()) {
|
} else if (cpu_is_omap16xx() || cpu_is_omap7xx()) {
|
||||||
printk(KERN_INFO "OMAP DMA hardware version %d\n",
|
printk(KERN_INFO "OMAP DMA hardware version %d\n",
|
||||||
dma_read(HW_ID));
|
dma_read(HW_ID));
|
||||||
printk(KERN_INFO "DMA capabilities: %08x:%08x:%04x:%04x:%04x\n",
|
printk(KERN_INFO "DMA capabilities: %08x:%08x:%04x:%04x:%04x\n",
|
||||||
|
@ -148,7 +148,7 @@ void __init omap_detect_sram(void)
|
|||||||
omap_sram_base = OMAP1_SRAM_VA;
|
omap_sram_base = OMAP1_SRAM_VA;
|
||||||
omap_sram_start = OMAP1_SRAM_PA;
|
omap_sram_start = OMAP1_SRAM_PA;
|
||||||
|
|
||||||
if (cpu_is_omap730())
|
if (cpu_is_omap7xx())
|
||||||
omap_sram_size = 0x32000; /* 200K */
|
omap_sram_size = 0x32000; /* 200K */
|
||||||
else if (cpu_is_omap15xx())
|
else if (cpu_is_omap15xx())
|
||||||
omap_sram_size = 0x30000; /* 192K */
|
omap_sram_size = 0x30000; /* 192K */
|
||||||
|
Loading…
Reference in New Issue
Block a user