lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment
authorSimon Glass <sjg@chromium.org>
Wed, 17 Oct 2012 13:24:54 +0000 (13:24 +0000)
committerTom Warren <twarren@nvidia.com>
Mon, 19 Nov 2012 15:15:38 +0000 (08:15 -0700)
commit676d319ef5f450ca7845555f75de496b96cd688e
tree8bb6a995ac1613fb5a6c5b95f55d0fc9f1f9936c
parent0dde7f53797098cf7021f6a7ca6c15bfee405db1
lcd: Add CONFIG_LCD_ALIGNMENT to select frame buffer alignment

The normal alignment is PAGE_SIZE, but if this is defined, we can support
other alignments.

The motivation for this change is to make the display section-aligned on
ARM so that we can easily turn off data caching for the frame buffer region
without resorting to level 2 page tables.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
README
common/lcd.c
include/lcd.h