Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Jack Humbert
reform-boundary-uboot
Commits
2c7b2ab5
Commit
2c7b2ab5
authored
19 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
Fix problem with SM501 init on HH405 board.
Patch by Stefan Roese, 30 Sep 2005
parent
709d8ec0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/esd/hh405/hh405.c
+4
-1
4 additions, 1 deletion
board/esd/hh405/hh405.c
include/configs/HH405.h
+8
-3
8 additions, 3 deletions
include/configs/HH405.h
with
12 additions
and
4 deletions
board/esd/hh405/hh405.c
+
4
−
1
View file @
2c7b2ab5
...
...
@@ -367,7 +367,6 @@ int misc_init_r (void)
int
i
;
char
*
str
;
unsigned
long
contrast0
=
0xffffffff
;
pci_dev_t
devbusfn
;
dst
=
malloc
(
CFG_FPGA_MAX_SIZE
);
if
(
gunzip
(
dst
,
CFG_FPGA_MAX_SIZE
,
(
uchar
*
)
fpgadata
,
&
len
)
!=
0
)
{
...
...
@@ -554,7 +553,10 @@ int misc_init_r (void)
regs_13704_320_240_4bpp
,
sizeof
(
regs_13704_320_240_4bpp
)
/
sizeof
(
regs_13704_320_240_4bpp
[
0
]),
logo_bmp_320
,
sizeof
(
logo_bmp_320
));
#ifdef CONFIG_VIDEO_SM501
}
else
{
pci_dev_t
devbusfn
;
/*
* Is SM501 connected (ppc221/ppc231)?
*/
...
...
@@ -573,6 +575,7 @@ int misc_init_r (void)
printf
(
"Unsupported bd_type defined (%s) -> No display configured!
\n
"
,
str
);
return
0
;
}
#endif
/* CONFIG_VIDEO_SM501 */
}
return
(
0
);
...
...
This diff is collapsed.
Click to expand it.
include/configs/HH405.h
+
8
−
3
View file @
2c7b2ab5
...
...
@@ -55,6 +55,10 @@
#define CONFIG_PREBOOT "autoupd"
#define CONFIG_EXTRA_ENV_SETTINGS \
"pciconfighost=1\0" \
""
#define CFG_LOADS_BAUD_CHANGE 1
/* allow baudrate change */
#define CONFIG_MII 1
/* MII PHY management */
...
...
@@ -66,7 +70,9 @@
/*
* Video console
*/
#define CONFIG_VIDEO
#define CONFIG_VIDEO
/* for sm501 video support */
#ifdef CONFIG_VIDEO
#define CONFIG_VIDEO_SM501
#if 0
#define CONFIG_VIDEO_SM501_32BPP
...
...
@@ -84,11 +90,10 @@
#define CONFIG_VIDEO_BMP_GZIP
/* gzip compressed bmp images */
#define CFG_VIDEO_LOGO_MAX_SIZE (1024*1024)
/* for decompressed img */
#ifdef CONFIG_VIDEO
#define ADD_BMP_CMD CFG_CMD_BMP
#else
#define ADD_BMP_CMD 0
#endif
#endif
/* CONFIG_VIDEO */
#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
CFG_CMD_DHCP | \
...
...
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