Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
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
vesta
u-boot-2015.04
Commits
9d173e02
Commit
9d173e02
authored
15 years ago
by
Anatolij Gustschin
Browse files
Options
Downloads
Patches
Plain Diff
video: mb862xx: replace printf with puts
Signed-off-by:
Anatolij Gustschin
<
agust@denx.de
>
parent
cce99b2a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/video/mb862xx.c
+10
-10
10 additions, 10 deletions
drivers/video/mb862xx.c
with
10 additions
and
10 deletions
drivers/video/mb862xx.c
+
10
−
10
View file @
9d173e02
...
...
@@ -111,7 +111,7 @@ static void de_wait (void)
while
(
DE_RD_REG
(
GC_CTR
)
&
0x00000131
)
if
(
lc
--
<
0
)
{
gdc_sw_reset
();
p
rintf
(
"gdc reset done after drawing engine lock.
\n
"
);
p
uts
(
"gdc reset done after drawing engine lock.
\n
"
);
break
;
}
}
...
...
@@ -125,7 +125,7 @@ static void de_wait_slots (int slots)
while
(
DE_RD_REG
(
GC_IFCNT
)
<
slots
)
if
(
lc
--
<
0
)
{
gdc_sw_reset
();
p
rintf
(
"gdc reset done after drawing engine lock.
\n
"
);
p
uts
(
"gdc reset done after drawing engine lock.
\n
"
);
break
;
}
}
...
...
@@ -183,7 +183,7 @@ unsigned int pci_video_init (void)
pci_dev_t
devbusfn
;
if
((
devbusfn
=
pci_find_devices
(
supported
,
0
))
<
0
)
{
p
rintf
(
"PCI video controller not found!
\n
"
);
p
uts
(
"PCI video controller not found!
\n
"
);
return
0
;
}
...
...
@@ -194,7 +194,7 @@ unsigned int pci_video_init (void)
dev
->
frameAdrs
=
pci_mem_to_phys
(
devbusfn
,
dev
->
frameAdrs
);
if
(
dev
->
frameAdrs
==
0
)
{
p
rintf
(
"PCI config: failed to get base address
\n
"
);
p
uts
(
"PCI config: failed to get base address
\n
"
);
return
0
;
}
...
...
@@ -223,7 +223,7 @@ unsigned int card_init (void)
if
(
!
pci_video_init
())
return
0
;
p
rintf
(
"CoralP
\n
"
);
p
uts
(
"CoralP
\n
"
);
tmp
=
0
;
videomode
=
0x310
;
...
...
@@ -252,7 +252,7 @@ unsigned int card_init (void)
res_mode
=
(
struct
ctfb_res_modes
*
)
&
res_mode_init
[
vesa_modes
[
i
].
resindex
];
if
(
vesa_modes
[
i
].
resindex
>
2
)
{
p
rintf
(
"
\t
Unsupported resolution, using default
\n
"
);
p
uts
(
"
\t
Unsupported resolution, using default
\n
"
);
bpp
=
vesa_modes
[
1
].
bits_per_pixel
;
div
=
fr_div
[
1
];
}
...
...
@@ -296,7 +296,7 @@ unsigned int card_init (void)
default:
printf
(
"
\t
%d bpp configured, but only 8,15 and 16 supported
\n
"
,
bpp
);
p
rintf
(
"
\t
Switching
back to 15bpp
\n
"
);
p
uts
(
"
\t
fall
back to 15bpp
\n
"
);
dev
->
gdfIndex
=
GDF_15BIT_555RGB
;
dev
->
gdfBytesPP
=
2
;
}
...
...
@@ -344,7 +344,7 @@ void *video_hw_init (void)
{
GraphicDevice
*
dev
=
&
mb862xx
;
p
rintf
(
"Video: Fujitsu "
);
p
uts
(
"Video: Fujitsu "
);
memset
(
dev
,
0
,
sizeof
(
GraphicDevice
));
...
...
@@ -357,10 +357,10 @@ void *video_hw_init (void)
* retrieve base address
*/
if
((
dev
->
frameAdrs
=
board_video_init
())
==
0
)
{
p
rintf
(
"Controller not found!
\n
"
);
p
uts
(
"Controller not found!
\n
"
);
return
NULL
;
}
else
p
rintf
(
"Lime
\n
"
);
p
uts
(
"Lime
\n
"
);
#endif
de_init
();
...
...
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