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
511e4f9e
Commit
511e4f9e
authored
17 years ago
by
Pieter Voorthuijsen
Committed by
Stefan Roese
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ppc4xx: Enable cache support on the ALPR board
Signed-off-by:
Pieter Voorthuijsen
<
pv@prodrive.nl
>
parent
14f73ca6
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/prodrive/alpr/init.S
+9
-0
9 additions, 0 deletions
board/prodrive/alpr/init.S
include/configs/alpr.h
+1
-0
1 addition, 0 deletions
include/configs/alpr.h
with
10 additions
and
0 deletions
board/prodrive/alpr/init.S
+
9
−
0
View file @
511e4f9e
...
...
@@ -90,7 +90,16 @@ tlbtab:
tlbentry
(
CFG_PERIPHERAL_BASE
,
SZ_256M
,
0x40000000
,
1
,
AC_R|AC_W|SA_G
|
SA_I
)
tlbentry
(
CFG_ISRAM_BASE
,
SZ_4K
,
0x80000000
,
0
,
AC_R|AC_W|AC_X
)
tlbentry
(
CFG_ISRAM_BASE
+
0x1000
,
SZ_4K
,
0x80001000
,
0
,
AC_R|AC_W|AC_X
)
#ifdef CONFIG_4xx_DCACHE
tlbentry
(
CFG_SDRAM_BASE
,
SZ_256M
,
0x00000000
,
0
,
AC_R|AC_W|AC_X
|
SA_G
)
#else
tlbentry
(
CFG_SDRAM_BASE
,
SZ_256M
,
0x00000000
,
0
,
AC_R|AC_W|AC_X|SA_G|SA_I
)
#endif
#ifdef CFG_INIT_RAM_DCACHE
/
*
TLB
-
entry
for
init
-
ram
in
dcache
(
SA_I
must
be
turned
off
!)
*/
tlbentry
(
CFG_INIT_RAM_ADDR
,
SZ_64K
,
CFG_INIT_RAM_ADDR
,
0
,
AC_R|AC_W|AC_X
|
SA_G
)
#endif
tlbentry
(
CFG_PCI_BASE
,
SZ_256M
,
0x00000000
,
2
,
AC_R|AC_W|SA_G
|
SA_I
)
/
*
PCI
*/
...
...
This diff is collapsed.
Click to expand it.
include/configs/alpr.h
+
1
−
0
View file @
511e4f9e
...
...
@@ -35,6 +35,7 @@
#define CONFIG_LAST_STAGE_INIT 1
/* call last_stage_init() */
#undef CFG_DRAM_TEST
/* Disable-takes long time! */
#define CONFIG_SYS_CLK_FREQ 33333333
/* external freq to pll */
#define CONFIG_4xx_DCACHE
/* Enable i- and d-cache */
/*-----------------------------------------------------------------------
* Base addresses -- Note these are effective addresses where the
...
...
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