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
286a5b25
Commit
286a5b25
authored
13 years ago
by
Rogan Dawes
Committed by
Albert ARIBAUD
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Orion5x: Correct DRAM bank detection
parent
81a9ab21
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
arch/arm/cpu/arm926ejs/orion5x/dram.c
+1
-1
1 addition, 1 deletion
arch/arm/cpu/arm926ejs/orion5x/dram.c
arch/arm/include/asm/arch-orion5x/orion5x.h
+1
-0
1 addition, 0 deletions
arch/arm/include/asm/arch-orion5x/orion5x.h
with
2 additions
and
1 deletion
arch/arm/cpu/arm926ejs/orion5x/dram.c
+
1
−
1
View file @
286a5b25
...
...
@@ -38,7 +38,7 @@ u32 orion5x_sdram_bar(enum memory_bank bank)
{
struct
orion5x_ddr_addr_decode_registers
*
winregs
=
(
struct
orion5x_ddr_addr_decode_registers
*
)
ORION5X_
CPU_WIN
_BASE
;
ORION5X_
DRAM
_BASE
;
u32
result
=
0
;
u32
enable
=
0x01
&
winregs
[
bank
].
size
;
...
...
This diff is collapsed.
Click to expand it.
arch/arm/include/asm/arch-orion5x/orion5x.h
+
1
−
0
View file @
286a5b25
...
...
@@ -42,6 +42,7 @@
#define ORION5X_REGISTER(x) (ORION5X_REGS_PHY_BASE + x)
/* Documented registers */
#define ORION5X_DRAM_BASE (ORION5X_REGISTER(0x01500))
#define ORION5X_TWSI_BASE (ORION5X_REGISTER(0x11000))
#define ORION5X_UART0_BASE (ORION5X_REGISTER(0x12000))
#define ORION5X_UART1_BASE (ORION5X_REGISTER(0x12100))
...
...
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