Randall Spangler
ab6546cbaa
Clean up DMA module and interface.
...
Explicitly use enum for dma_channel, instead of ints (since channel is
1-based in the docs and 0-based in the enum). Add enum values for
other channels like USART.
Use volatile structs instead of typecasting through REG32().
Other assorted code cleanup.
Remove DMA2 partial support, since neither STM32F100R8 nor STM32L151x
has hardware support for it and it cluttered the code.
No functional changes.
BUG=chrome-os-partner:20485
BRANCH=none
TEST=from pit root shell, 'ectool version' still works
Change-Id: Ifdd62fb287c608a684ba8fa16934dfcab83ee609
Signed-off-by: Randall Spangler <rspangler@chromium.org >
Reviewed-on: https://gerrit.chromium.org/gerrit/59949
2013-06-26 09:08:24 -07:00
..
2013-04-30 10:38:43 -07:00
2013-06-07 10:52:14 -07:00
2013-03-05 10:26:21 -08:00
2013-04-05 14:28:42 -07:00
2013-04-24 16:32:58 -07:00
2013-06-07 10:52:11 -07:00
2012-05-25 09:59:58 -07:00
2013-06-13 09:02:08 -07:00
2013-06-07 10:52:11 -07:00
2012-11-01 12:45:22 -07:00
2013-04-24 16:32:58 -07:00
2013-03-26 18:03:20 -07:00
2013-05-17 09:52:26 -07:00
2013-04-29 11:05:08 -07:00
2013-03-27 11:35:20 -07:00
2013-06-26 09:08:24 -07:00
2013-06-20 16:47:06 -07:00
2011-12-07 19:10:02 +00:00
2012-10-26 09:49:38 -07:00
2013-04-10 14:24:10 -07:00
2013-04-10 14:24:10 -07:00
2013-06-03 14:32:38 -07:00
2013-04-24 00:06:00 -07:00
2013-06-13 18:13:23 -07:00
2013-04-25 17:03:18 -07:00
2013-06-20 13:55:11 -07:00
2013-05-07 09:09:50 -07:00
2013-06-26 09:08:23 -07:00
2013-03-20 15:23:29 -07:00
2013-04-30 11:45:52 -07:00
2012-11-04 20:27:57 -08:00
2012-10-30 12:42:46 -07:00
2013-04-25 17:03:18 -07:00
2013-06-18 10:31:09 -07:00
2013-03-27 11:35:20 -07:00
2013-03-27 11:35:20 -07:00
2013-04-24 16:32:58 -07:00
2013-04-24 16:32:58 -07:00
2013-03-22 11:24:29 -07:00
2013-04-02 14:12:57 -07:00
2012-04-26 13:57:19 -07:00
2012-09-11 09:46:16 -07:00
2013-05-07 09:09:50 -07:00
2013-04-23 10:39:13 -07:00
2012-11-04 20:27:57 -08:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2013-04-18 20:56:15 -07:00
2012-11-01 12:45:22 -07:00
2013-05-20 10:54:00 -07:00
2012-08-13 14:58:38 -07:00
2013-04-25 17:03:18 -07:00
2013-04-24 16:32:58 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:10 -07:00
2013-05-16 12:16:31 -07:00
2012-06-07 20:48:51 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2012-06-27 03:22:17 -07:00
2012-06-27 03:22:17 -07:00
2012-09-17 10:10:14 -07:00
2013-06-03 14:32:07 -07:00
2013-05-15 20:12:47 -07:00
2013-05-07 09:09:50 -07:00
2012-11-01 10:08:54 -07:00
2012-11-01 12:45:22 -07:00
2013-06-17 20:27:27 -07:00
2012-10-26 13:10:57 -07:00
2012-10-29 16:52:49 -07:00
2012-11-01 12:45:22 -07:00
2013-06-11 02:25:22 -07:00
2012-10-30 12:42:43 -07:00
2013-05-02 18:10:46 -07:00
2013-04-29 11:05:08 -07:00
2012-12-10 15:14:38 -08:00
2012-06-28 17:40:39 -07:00
2013-06-10 13:59:34 -07:00
2013-04-30 19:03:03 -07:00