diff options
author | Leifu Zhao <leifu.zhao@intel.com> | 2019-03-07 13:14:20 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-02 07:00:55 -0700 |
commit | d7aab8081efcd6187ae1704baa989cf973119380 (patch) | |
tree | b8d143cb3217594b8c67fe69fa9d03494bc2bb39 /board | |
parent | 049db3d36f15a3e3037c9e9a5fcea59d0c762ef8 (diff) | |
download | chrome-ec-d7aab8081efcd6187ae1704baa989cf973119380.tar.gz |
ish: add memory dma driver for ISH5
Arcada/ISH5 power management needs the support for dma between
UMA and SRAM to do SRAM swap in and swap out. Add the dma driver
and API which utilizes dma engine to perform dma transfer between
UMA and SRAM.
BUG=b:127723182
BRANCH=none
TEST=tested on arcada
Signed-off-by: Leifu Zhao <leifu.zhao@intel.com>
Change-Id: I22172b176eed92d7f487641f9b5c79dfd04f602a
Reviewed-on: https://chromium-review.googlesource.com/1507326
Commit-Ready: Leifu Zhao <leifu.zhao@intel.corp-partner.google.com>
Tested-by: Jett Rink <jettrink@chromium.org>
Reviewed-by: Leifu Zhao <leifu.zhao@intel.corp-partner.google.com>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/arcada_ish/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/arcada_ish/board.h b/board/arcada_ish/board.h index 6ab130bb68..cdaf26e36a 100644 --- a/board/arcada_ish/board.h +++ b/board/arcada_ish/board.h @@ -52,6 +52,9 @@ #define CONFIG_TABLET_MODE +/* DMA paging between SRAM and DRAM */ +#define CONFIG_DMA_PAGING + /* Host command over HECI */ #define CONFIG_HOSTCMD_HECI |