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
Reform
reform-boundary-uboot
Commits
87ef7656
Commit
87ef7656
authored
8 years ago
by
Tom Rini
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
http://git.denx.de/u-boot-sunxi
parents
2489a7e9
ad141664
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/mach-sunxi/dram_helpers.c
+2
-0
2 additions, 0 deletions
arch/arm/mach-sunxi/dram_helpers.c
configs/A13-OLinuXino_defconfig
+1
-0
1 addition, 0 deletions
configs/A13-OLinuXino_defconfig
with
3 additions
and
0 deletions
arch/arm/mach-sunxi/dram_helpers.c
+
2
−
0
View file @
87ef7656
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
*/
*/
#include
<common.h>
#include
<common.h>
#include
<asm/armv7.h>
#include
<asm/io.h>
#include
<asm/io.h>
#include
<asm/arch/dram.h>
#include
<asm/arch/dram.h>
...
@@ -31,6 +32,7 @@ bool mctl_mem_matches(u32 offset)
...
@@ -31,6 +32,7 @@ bool mctl_mem_matches(u32 offset)
/* Try to write different values to RAM at two addresses */
/* Try to write different values to RAM at two addresses */
writel
(
0
,
CONFIG_SYS_SDRAM_BASE
);
writel
(
0
,
CONFIG_SYS_SDRAM_BASE
);
writel
(
0xaa55aa55
,
(
ulong
)
CONFIG_SYS_SDRAM_BASE
+
offset
);
writel
(
0xaa55aa55
,
(
ulong
)
CONFIG_SYS_SDRAM_BASE
+
offset
);
DSB
;
/* Check if the same value is actually observed when reading back */
/* Check if the same value is actually observed when reading back */
return
readl
(
CONFIG_SYS_SDRAM_BASE
)
==
return
readl
(
CONFIG_SYS_SDRAM_BASE
)
==
readl
((
ulong
)
CONFIG_SYS_SDRAM_BASE
+
offset
);
readl
((
ulong
)
CONFIG_SYS_SDRAM_BASE
+
offset
);
...
...
This diff is collapsed.
Click to expand it.
configs/A13-OLinuXino_defconfig
+
1
−
0
View file @
87ef7656
...
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT2=y
...
@@ -32,6 +32,7 @@ CONFIG_CMD_EXT2=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_EXT4=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FAT=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_CMD_FS_GENERIC=y
CONFIG_AXP_ALDO3_VOLT=3300
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_MUSB_GADGET=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET=y
...
...
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