Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot
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
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
Florian Mayer
u-boot
Commits
a6f5f317
Commit
a6f5f317
authored
17 years ago
by
Bryan O'Donoghue
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
8xx : Add OF support to Adder875 board port - resubmit
Signed-off-by:
Bryan O'Donoghue
<
bodonoghue@codehermit.ie
>
parent
d058698f
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
board/adder/adder.c
+11
-0
11 additions, 0 deletions
board/adder/adder.c
include/configs/Adder.h
+6
-0
6 additions, 0 deletions
include/configs/Adder.h
with
17 additions
and
0 deletions
board/adder/adder.c
+
11
−
0
View file @
a6f5f317
...
@@ -26,6 +26,9 @@
...
@@ -26,6 +26,9 @@
#include
<common.h>
#include
<common.h>
#include
<mpc8xx.h>
#include
<mpc8xx.h>
#if defined(CONFIG_OF_LIBFDT)
#include
<libfdt.h>
#endif
/*
/*
* SDRAM is single Samsung K4S643232F-T70 chip (8MB)
* SDRAM is single Samsung K4S643232F-T70 chip (8MB)
...
@@ -111,3 +114,11 @@ int checkboard( void )
...
@@ -111,3 +114,11 @@ int checkboard( void )
return
0
;
return
0
;
}
}
#if defined(CONFIG_OF_BOARD_SETUP)
void
ft_board_setup
(
void
*
blob
,
bd_t
*
bd
)
{
ft_cpu_setup
(
blob
,
bd
);
}
#endif
This diff is collapsed.
Click to expand it.
include/configs/Adder.h
+
6
−
0
View file @
a6f5f317
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
#define CONFIG_ETHER_ON_FEC1
#define CONFIG_ETHER_ON_FEC1
#define CONFIG_ETHER_ON_FEC2
#define CONFIG_ETHER_ON_FEC2
#define CONFIG_HAS_ETH0
#define CONFIG_HAS_ETH1
#if defined(CONFIG_ETHER_ON_FEC1) || defined(CONFIG_ETHER_ON_FEC2)
#if defined(CONFIG_ETHER_ON_FEC1) || defined(CONFIG_ETHER_ON_FEC2)
#define CFG_DISCOVER_PHY
#define CFG_DISCOVER_PHY
...
@@ -212,4 +214,8 @@
...
@@ -212,4 +214,8 @@
#define BOOTFLAG_COLD 0x01
/* Normal Power-On: Boot from flash */
#define BOOTFLAG_COLD 0x01
/* Normal Power-On: Boot from flash */
#define BOOTFLAG_WARM 0x02
/* Software reboot */
#define BOOTFLAG_WARM 0x02
/* Software reboot */
/* pass open firmware flat tree */
#define CONFIG_OF_LIBFDT 1
#define CONFIG_OF_BOARD_SETUP 1
#endif
/* __CONFIG_H */
#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