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
29e3500c
Commit
29e3500c
authored
17 years ago
by
Larry Johnson
Committed by
Stefan Roese
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ppc4xx: Add CONFIG_4xx_DCACHE compile switch to Denali-core SPD code
Signed-off-by:
Larry Johnson
<
lrj@acm.org
>
parent
ff02f139
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cpu/ppc4xx/denali_spd_ddr2.c
+3
-3
3 additions, 3 deletions
cpu/ppc4xx/denali_spd_ddr2.c
with
3 additions
and
3 deletions
cpu/ppc4xx/denali_spd_ddr2.c
+
3
−
3
View file @
29e3500c
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* This SPD SDRAM detection code supports AMCC PPC44x CPUs with a Denali-core
* This SPD SDRAM detection code supports AMCC PPC44x CPUs with a Denali-core
* DDR2 controller, specifically the 440EPx/GRx.
* DDR2 controller, specifically the 440EPx/GRx.
*
*
* (C) Copyright 2007
* (C) Copyright 2007
-2008
* Larry Johnson, lrj@acm.org.
* Larry Johnson, lrj@acm.org.
*
*
* Based primarily on cpu/ppc4xx/4xx_spd_ddr2.c, which is...
* Based primarily on cpu/ppc4xx/4xx_spd_ddr2.c, which is...
...
@@ -77,10 +77,10 @@
...
@@ -77,10 +77,10 @@
* memory.
* memory.
*
*
* If at some time this restriction doesn't apply anymore, just define
* If at some time this restriction doesn't apply anymore, just define
* C
FG_ENABLE_SDRAM_
CACHE in the board config file and this code should setup
* C
ONFIG_4xx_D
CACHE in the board config file and this code should setup
* everything correctly.
* everything correctly.
*/
*/
#if defined(C
FG_ENABLE_SDRAM_
CACHE)
#if defined(C
ONFIG_4xx_D
CACHE)
#define MY_TLB_WORD2_I_ENABLE 0
/* enable caching on SDRAM */
#define MY_TLB_WORD2_I_ENABLE 0
/* enable caching on SDRAM */
#else
#else
#define MY_TLB_WORD2_I_ENABLE TLB_WORD2_I_ENABLE
/* disable caching on SDRAM */
#define MY_TLB_WORD2_I_ENABLE TLB_WORD2_I_ENABLE
/* disable caching on SDRAM */
...
...
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