Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
98148195
Commit
98148195
authored
12 years ago
by
Tom Rini
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
git://git.denx.de/u-boot-video
parents
f1972e32
44a53b57
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README
+7
-4
7 additions, 4 deletions
README
common/lcd.c
+1
-1
1 addition, 1 deletion
common/lcd.c
with
8 additions
and
5 deletions
README
+
7
−
4
View file @
98148195
...
...
@@ -2714,10 +2714,13 @@ FIT uImage format:
CONFIG_FB_ADDR
Define CONFIG_FB_ADDR if you want to use specific
address for frame buffer.
Then system will reserve the frame buffer address to
defined address instead of lcd_setmem (this function
grabs the memory for frame buffer by panel's size).
address for frame buffer. This is typically the case
when using a graphics controller has separate video
memory. U-Boot will then place the frame buffer at
the given address instead of dynamically reserving it
in system RAM by calling lcd_setmem(), which grabs
the memory for the frame buffer depending on the
configured panel size.
Please see board_init_f function.
...
...
This diff is collapsed.
Click to expand it.
common/lcd.c
+
1
−
1
View file @
98148195
...
...
@@ -888,7 +888,7 @@ int lcd_display_bitmap(ulong bmp_image, int x, int y)
}
/* We support displaying 8bpp BMPs on 16bpp LCDs */
if
(
bpix
!=
bmp_bpix
&&
(
bmp_bpix
!
=
8
||
bpix
!
=
16
||
bpix
!=
32
))
{
if
(
bpix
!=
bmp_bpix
&&
!
(
bmp_bpix
=
=
8
&&
bpix
=
=
16
))
{
printf
(
"Error: %d bit/pixel mode, but BMP has %d bit/pixel
\n
"
,
bpix
,
le16_to_cpu
(
bmp
->
header
.
bit_count
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment