Commit graph

4 commits

Author SHA1 Message Date
Robert Foss
11ac2200ff Silenced GCC warnings 2015-03-16 11:32:11 +01:00
Sean Cross
c2d17ffef2 lcd: get rid of lcd_setup()
Combine init and setup into one function, and call it lcd_init().

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-28 17:43:42 +08:00
Sean Cross
a7ff5acb5d lcd: improve DMA support
Rather than completely rewriting everything on each runthrough, we
now only refill the command buffer before toggling the RUN bit.

This will improve performance by eliminating excessive register writes.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-28 17:30:33 +08:00
Sean Cross
b8a7aedbd7 lcd: Add basic LCD library
This supports setting up the LCD, and then starting a transfer.

Interrupts are required to have self-refresh working.

Signed-off-by: Sean Cross <xobs@kosagi.com>
2014-11-28 17:10:00 +08:00