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
e355eec7
Commit
e355eec7
authored
8 years ago
by
Gilles Chanteperdrix
Committed by
Stefano Babic
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
wandboard: enable SATA with imx6q
Signed-off-by:
Gilles Chanteperdrix
<
gilles.chanteperdrix@xenomai.org
>
parent
369012e7
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
board/wandboard/wandboard.c
+6
-0
6 additions, 0 deletions
board/wandboard/wandboard.c
include/configs/wandboard.h
+12
-0
12 additions, 0 deletions
include/configs/wandboard.h
with
18 additions
and
0 deletions
board/wandboard/wandboard.c
+
6
−
0
View file @
e355eec7
...
@@ -345,6 +345,12 @@ int board_early_init_f(void)
...
@@ -345,6 +345,12 @@ int board_early_init_f(void)
#if defined(CONFIG_VIDEO_IPUV3)
#if defined(CONFIG_VIDEO_IPUV3)
setup_display
();
setup_display
();
#endif
#endif
#ifdef CONFIG_CMD_SATA
/* Only mx6q wandboard has SATA */
if
(
is_cpu_type
(
MXC_CPU_MX6Q
))
setup_sata
();
#endif
return
0
;
return
0
;
}
}
...
...
This diff is collapsed.
Click to expand it.
include/configs/wandboard.h
+
12
−
0
View file @
e355eec7
...
@@ -28,6 +28,18 @@
...
@@ -28,6 +28,18 @@
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART
#define CONFIG_MXC_UART_BASE UART1_BASE
#define CONFIG_MXC_UART_BASE UART1_BASE
/* SATA Configs */
#define CONFIG_CMD_SATA
#ifdef CONFIG_CMD_SATA
#define CONFIG_DWC_AHSATA
#define CONFIG_SYS_SATA_MAX_DEVICE 1
#define CONFIG_DWC_AHSATA_PORT_ID 0
#define CONFIG_DWC_AHSATA_BASE_ADDR SATA_ARB_BASE_ADDR
#define CONFIG_LBA48
#define CONFIG_LIBATA
#endif
/* Command definition */
/* Command definition */
#define CONFIG_CMD_BMODE
#define CONFIG_CMD_BMODE
...
...
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