summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2017-10-15 11:21:06 -0200
committerStefano Babic <[email protected]>2017-10-31 11:13:33 +0100
commitd7f7eb749f6eb18e55162dbe4bde2e2d8341bb82 (patch)
tree0d998b4b6fa1e2eeffc169f9a9214d01f41795a0
parent506abdb4ee9664cc0d6d1321e96f7fb8dae72eb9 (diff)
wandboard: Remove cpu type check prior to setup_sata()
Inside setup_sata() there is a cpu type check, so there is no need to do this check in the board file. This also brings the benefit to allowing setup_sata() to be called for the mx6qp wandboard variant. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Heinrich Schuchardt <[email protected]>
-rw-r--r--board/wandboard/wandboard.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index 051560fb016..1e7c11e670f 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -435,9 +435,7 @@ int board_early_init_f(void)
{
setup_iomux_uart();
#ifdef CONFIG_SATA
- /* Only mx6q wandboard has SATA */
- if (is_cpu_type(MXC_CPU_MX6Q))
- setup_sata();
+ setup_sata();
#endif
return 0;