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
f2c8d7f5
Commit
f2c8d7f5
authored
10 years ago
by
Albert ARIBAUD
Browse files
Options
Downloads
Plain Diff
Merge branch 'u-boot-microblaze/zynq' into 'u-boot-arm/master'
parents
772e1738
32747491
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
arch/arm/cpu/armv7/zynq/ddrc.c
+2
-2
2 additions, 2 deletions
arch/arm/cpu/armv7/zynq/ddrc.c
board/xilinx/zynq/Makefile
+3
-0
3 additions, 0 deletions
board/xilinx/zynq/Makefile
include/configs/zynq-common.h
+2
-0
2 additions, 0 deletions
include/configs/zynq-common.h
with
7 additions
and
2 deletions
arch/arm/cpu/armv7/zynq/ddrc.c
+
2
−
2
View file @
f2c8d7f5
...
@@ -34,7 +34,7 @@ void zynq_ddrc_init(void)
...
@@ -34,7 +34,7 @@ void zynq_ddrc_init(void)
/* ECC is enabled when memory is in 16bit mode and it is enabled */
/* ECC is enabled when memory is in 16bit mode and it is enabled */
if
((
ecctype
==
ZYNQ_DDRC_ECC_SCRUBREG_ECCMODE_SECDED
)
&&
if
((
ecctype
==
ZYNQ_DDRC_ECC_SCRUBREG_ECCMODE_SECDED
)
&&
(
width
==
ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT
))
{
(
width
==
ZYNQ_DDRC_CTRLREG_BUSWIDTH_16BIT
))
{
puts
(
"
Memory:
ECC enabled
\n
"
);
puts
(
"ECC enabled
"
);
/*
/*
* Clear the first 1MB because it is not initialized from
* Clear the first 1MB because it is not initialized from
* first stage bootloader. To get ECC to work all memory has
* first stage bootloader. To get ECC to work all memory has
...
@@ -42,6 +42,6 @@ void zynq_ddrc_init(void)
...
@@ -42,6 +42,6 @@ void zynq_ddrc_init(void)
*/
*/
memset
((
void
*
)
0
,
0
,
1
*
1024
*
1024
);
memset
((
void
*
)
0
,
0
,
1
*
1024
*
1024
);
}
else
{
}
else
{
puts
(
"
Memory:
ECC disabled
\n
"
);
puts
(
"ECC disabled
"
);
}
}
}
}
This diff is collapsed.
Click to expand it.
board/xilinx/zynq/Makefile
+
3
−
0
View file @
f2c8d7f5
...
@@ -10,3 +10,6 @@ obj-y := board.o
...
@@ -10,3 +10,6 @@ obj-y := board.o
# Please copy ps7_init.c/h from hw project to this directory
# Please copy ps7_init.c/h from hw project to this directory
obj-$(CONFIG_SPL_BUILD)
+=
\
obj-$(CONFIG_SPL_BUILD)
+=
\
$(
if
$(
wildcard
$(
srctree
)
/
$(
src
)
/ps7_init.c
)
, ps7_init.o
)
$(
if
$(
wildcard
$(
srctree
)
/
$(
src
)
/ps7_init.c
)
, ps7_init.o
)
# Suppress "warning: function declaration isn't a prototype"
CFLAGS_REMOVE_ps7_init.o
:=
-Wstrict-prototypes
This diff is collapsed.
Click to expand it.
include/configs/zynq-common.h
+
2
−
0
View file @
f2c8d7f5
...
@@ -339,4 +339,6 @@
...
@@ -339,4 +339,6 @@
#define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_UBOOT_START CONFIG_SYS_TEXT_BASE
#define CONFIG_SYS_GENERIC_BOARD
#endif
/* __CONFIG_ZYNQ_COMMON_H */
#endif
/* __CONFIG_ZYNQ_COMMON_H */
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