Skip to content
Snippets Groups Projects
Commit 676d319e authored by Simon Glass's avatar Simon Glass Committed by Tom Warren
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent 0dde7f53
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment