Files
OpenCellular/chip/stm32
Vincent Palatin 38bab6b9f1 stm32: fix keyboard FIFO
When the FIFO is empty, returns the last read entry not the next one.

also rewrite the FIFO index increment to generate slightly better code.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>

BUG=chrome-os-partner:8869
TEST=On Snow, in U-Boot using "stdin=mkbp-keyb" type on internal
keyboard and see the correct text.

Change-Id: I189d230053de40dd563ce672db82dd6217e545e3
2012-05-25 16:04:50 +00:00
..
2012-05-04 15:00:55 -07:00
2012-05-10 14:16:07 -07:00
2012-05-25 16:04:50 +00:00
2012-05-04 23:10:29 +00:00
2012-05-21 09:17:43 -07:00