public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2] udoo: Remove cpu type check prior to setup_sata()
Date: Sun, 15 Oct 2017 11:21:07 -0200	[thread overview]
Message-ID: <1508073667-5402-2-git-send-email-festevam@gmail.com> (raw)
In-Reply-To: <1508073667-5402-1-git-send-email-festevam@gmail.com>

From: Fabio Estevam <fabio.estevam@nxp.com>

Inside setup_sata() there is a cpu type check, so there is no need to
do this check in the board file.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
 board/udoo/udoo.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c
index a359626..562f0d8 100644
--- a/board/udoo/udoo.c
+++ b/board/udoo/udoo.c
@@ -245,8 +245,7 @@ int board_init(void)
 	gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
 #ifdef CONFIG_SATA
-	if (is_cpu_type(MXC_CPU_MX6Q))
-		setup_sata();
+	setup_sata();
 #endif
 	return 0;
 }
-- 
2.7.4

  reply	other threads:[~2017-10-15 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15 13:21 [U-Boot] [PATCH 1/2] wandboard: Remove cpu type check prior to setup_sata() Fabio Estevam
2017-10-15 13:21 ` Fabio Estevam [this message]
2017-10-18 16:52   ` [U-Boot] [PATCH 2/2] udoo: " Heinrich Schuchardt
2017-10-18 16:53 ` [U-Boot] [PATCH 1/2] wandboard: " Heinrich Schuchardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1508073667-5402-2-git-send-email-festevam@gmail.com \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox