OMAP: PM: DMA context save/restore for off-mode support
For HS/EMU devices, these additional features are also used: - DMA interrupt disable routine added - Added DMA controller reset to DMA context restore Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:

committed by
Kevin Hilman

parent
2f5939c3ec
commit
f2d1185824
@@ -34,6 +34,7 @@
|
||||
#include <plat/sdrc.h>
|
||||
#include <plat/prcm.h>
|
||||
#include <plat/gpmc.h>
|
||||
#include <plat/dma.h>
|
||||
|
||||
#include <asm/tlbflush.h>
|
||||
|
||||
@@ -95,6 +96,7 @@ static void omap3_core_save_context(void)
|
||||
omap3_gpmc_save_context();
|
||||
/* Save the system control module context, padconf already save above*/
|
||||
omap3_control_save_context();
|
||||
omap_dma_global_context_save();
|
||||
}
|
||||
|
||||
static void omap3_core_restore_context(void)
|
||||
@@ -105,6 +107,7 @@ static void omap3_core_restore_context(void)
|
||||
omap3_gpmc_restore_context();
|
||||
/* Restore the interrupt controller context */
|
||||
omap_intc_restore_context();
|
||||
omap_dma_global_context_restore();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user