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
cd94ba39
Commit
cd94ba39
authored
19 years ago
by
Marian Balakowicz
Browse files
Options
Downloads
Patches
Plain Diff
Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx.
parent
a7c66ad2
No related branches found
Branches containing commit
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
cpu/mpc83xx/start.S
+34
-0
34 additions, 0 deletions
cpu/mpc83xx/start.S
include/common.h
+2
-1
2 additions, 1 deletion
include/common.h
with
38 additions
and
1 deletion
CHANGELOG
+
2
−
0
View file @
cd94ba39
...
...
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
* Add Dcbz(), Dcbi() and Dcbf() routines for MPC83xx.
* Correct shift offsets in icache_status and dcache_status for MPC83xx.
* Add support for DS1374 RTC chip.
...
...
This diff is collapsed.
Click to expand it.
cpu/mpc83xx/start.S
+
34
−
0
View file @
cd94ba39
...
...
@@ -836,6 +836,40 @@ get_pvr:
mfspr
r3
,
PVR
blr
/*-------------------------------------------------------------------------------
*/
/*
Function
:
ppcDcbf
*/
/*
Description
:
Data
Cache
block
flush
*/
/*
Input
:
r3
=
effective
address
*/
/*
Output
:
none
.
*/
/*-------------------------------------------------------------------------------
*/
.
globl
ppcDcbf
ppcDcbf
:
dcbf
r0
,
r3
blr
/*-------------------------------------------------------------------------------
*/
/*
Function
:
ppcDcbi
*/
/*
Description
:
Data
Cache
block
Invalidate
*/
/*
Input
:
r3
=
effective
address
*/
/*
Output
:
none
.
*/
/*-------------------------------------------------------------------------------
*/
.
globl
ppcDcbi
ppcDcbi
:
dcbi
r0
,
r3
blr
/*--------------------------------------------------------------------------
*
Function
:
ppcDcbz
*
Description
:
Data
Cache
block
zero
.
*
Input
:
r3
=
effective
address
*
Output
:
none
.
*--------------------------------------------------------------------------
*/
.
globl
ppcDcbz
ppcDcbz
:
dcbz
r0
,
r3
blr
/*-------------------------------------------------------------------*/
/*
...
...
This diff is collapsed.
Click to expand it.
include/common.h
+
2
−
1
View file @
cd94ba39
...
...
@@ -365,7 +365,8 @@ void trap_init (ulong);
defined (CONFIG_75x) || \
defined (CONFIG_74xx) || \
defined (CONFIG_MPC8220) || \
defined(CONFIG_MPC85xx)
defined (CONFIG_MPC85xx) || \
defined (CONFIG_MPC83XX)
unsigned
char
in8
(
unsigned
int
);
void
out8
(
unsigned
int
,
unsigned
char
);
unsigned
short
in16
(
unsigned
int
);
...
...
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