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
d44a5f51
Commit
d44a5f51
authored
11 years ago
by
Albert ARIBAUD
Browse files
Options
Downloads
Plain Diff
Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master'
parents
56eb3da4
b5f05b06
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
arch/arm/cpu/armv7/zynq/cpu.c
+5
-4
5 additions, 4 deletions
arch/arm/cpu/armv7/zynq/cpu.c
with
5 additions
and
4 deletions
arch/arm/cpu/armv7/zynq/cpu.c
+
5
−
4
View file @
d44a5f51
...
...
@@ -16,23 +16,24 @@ void lowlevel_init(void)
int
arch_cpu_init
(
void
)
{
zynq_slcr_unlock
();
/* remap DDR to zero, FILTERSTART */
writel
(
0
,
&
scu_base
->
filter_start
);
/* Device config APB, unlock the PCAP */
writel
(
0x757BDF0D
,
&
devcfg_base
->
unlock
);
writel
(
0xFFFFFFFF
,
&
devcfg_base
->
rom_shadow
);
#if (CONFIG_SYS_SDRAM_BASE == 0)
/* remap DDR to zero, FILTERSTART */
writel
(
0
,
&
scu_base
->
filter_start
);
/* OCM_CFG, Mask out the ROM, map ram into upper addresses */
writel
(
0x1F
,
&
slcr_base
->
ocm_cfg
);
/* FPGA_RST_CTRL, clear resets on AXI fabric ports */
writel
(
0x0
,
&
slcr_base
->
fpga_rst_ctrl
);
/* TZ_DDR_RAM, Set DDR trust zone non-secure */
writel
(
0xFFFFFFFF
,
&
slcr_base
->
trust_zone
);
/* Set urgent bits with register */
writel
(
0x0
,
&
slcr_base
->
ddr_urgent_sel
);
/* Urgent write, ports S2/S3 */
writel
(
0xC
,
&
slcr_base
->
ddr_urgent
);
#endif
zynq_slcr_lock
();
...
...
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