Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uboot-i9100
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
Model registry
Operate
Environments
Monitor
Incidents
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
onny
uboot-i9100
Commits
98128f38
Commit
98128f38
authored
19 years ago
by
Wolfgang Denk
Browse files
Options
Downloads
Patches
Plain Diff
Enable PCI on hmi1001 board
parent
87b8bd5a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
board/hmi1001/hmi1001.c
+10
-0
10 additions, 0 deletions
board/hmi1001/hmi1001.c
include/configs/hmi1001.h
+18
-0
18 additions, 0 deletions
include/configs/hmi1001.h
with
30 additions
and
0 deletions
CHANGELOG
+
2
−
0
View file @
98128f38
...
...
@@ -2,6 +2,8 @@
Changes for U-Boot 1.1.4:
======================================================================
* Enable PCI on hmi1001 board
* Fix return values of the jffs2 commands ls/fsload/fsinfo,
so we can use them to, e.g., check the existence of a file with
"if ls foo; then this; else that; fi" in the hush shell
...
...
This diff is collapsed.
Click to expand it.
board/hmi1001/hmi1001.c
+
10
−
0
View file @
98128f38
...
...
@@ -170,3 +170,13 @@ int board_early_init_r (void)
*
(
vu_long
*
)
MPC5XXX_CS0_STOP
=
STOP_REG
(
CFG_FLASH_BASE
,
CFG_FLASH_SIZE
);
return
0
;
}
#ifdef CONFIG_PCI
static
struct
pci_controller
hose
;
extern
void
pci_mpc5xxx_init
(
struct
pci_controller
*
);
void
pci_init_board
(
void
)
{
pci_mpc5xxx_init
(
&
hose
);
}
#endif
This diff is collapsed.
Click to expand it.
include/configs/hmi1001.h
+
18
−
0
View file @
98128f38
...
...
@@ -65,6 +65,7 @@
CFG_CMD_I2C | \
CFG_CMD_IDE | \
CFG_CMD_NFS | \
CFG_CMD_PCI | \
CFG_CMD_SNTP)
/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
...
...
@@ -307,4 +308,21 @@
#define CONFIG_ATAPI 1
/*
* PCI Mapping:
* 0x40000000 - 0x4fffffff - PCI Memory
* 0x50000000 - 0x50ffffff - PCI IO Space
*/
#define CONFIG_PCI 1
#define CONFIG_PCI_PNP 1
#define CONFIG_PCI_SCAN_SHOW 1
#define CONFIG_PCI_MEM_BUS 0x40000000
#define CONFIG_PCI_MEM_PHYS CONFIG_PCI_MEM_BUS
#define CONFIG_PCI_MEM_SIZE 0x10000000
#define CONFIG_PCI_IO_BUS 0x50000000
#define CONFIG_PCI_IO_PHYS CONFIG_PCI_IO_BUS
#define CONFIG_PCI_IO_SIZE 0x01000000
#endif
/* __CONFIG_H */
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