summaryrefslogtreecommitdiff
path: root/firmware/export/mascodec.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 22:29:31 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2014-02-10 23:14:27 +0100
commite1003b1536091a7bdc421e05bd9eefcddd366bfe (patch)
tree6f4a32e398560e1a55506a870d0c63c0ebfe9525 /firmware/export/mascodec.h
parent935c0ad14a6f7840c12c3c7fd706e8166cd73f6a (diff)
zen/bootloader: power down the LCD at the end of the bootloader if needed
On the ZEN, the LCD is fed continuously by the DMA and this refresh needs to be stop when the bootloader gives control to the firmware, otherwise the DMA will source data from invalid region and it might even lock-up if the new code touches the memory setup. Work around this by properly stopping the LCD driver: the bootloader assumes that if the target defines HAVE_LCD_ENABLE in bootloader build (which is unusual) then it needs to stop the LCD. Since stopping the LCD could produce funny screens, power down backlight which is expected to power down the LCD too, giving a nice black screen instead of some random pixels. Change-Id: I7ce5ba9bfd08e596907c4ff8f80feb189f0576ce
Diffstat (limited to 'firmware/export/mascodec.h')
0 files changed, 0 insertions, 0 deletions