Files
OpenCellular/chip/stm32l
David Hendricks 97a49113d9 stm32l: clear and then set GPIO mode and pull-up/down settings
GPIO mode and pull-up/down registers do not all get initialized to
zero on reset. This patch ensures that all bits in the those registers
are set explicitly. An intermediate variable is used so that changes
are made atomically.

Note: output speed registers are also not all initialized to zero, but
we don't handle that in gpio_pre_init yet.

BUG=none
TEST=tested on newer daisy boards (which needed this patch to boot)

Change-Id: Ice2795197135dcee8f8484e4908dbfcf90fec2c9
Signed-off-by: David Hendricks <dhendrix@chromium.org>
2012-04-23 19:18:42 -07:00
..
2012-04-13 12:26:00 -07:00
2012-02-16 02:52:29 +00:00
2012-04-11 11:01:50 -07:00
2012-04-11 11:01:50 -07:00
2012-02-01 22:49:22 +00:00
2012-04-13 12:26:00 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-03-06 09:28:47 -08:00