From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Estevam Date: Sun, 15 Oct 2017 11:21:07 -0200 Subject: [U-Boot] [PATCH 2/2] udoo: Remove cpu type check prior to setup_sata() In-Reply-To: <1508073667-5402-1-git-send-email-festevam@gmail.com> References: <1508073667-5402-1-git-send-email-festevam@gmail.com> Message-ID: <1508073667-5402-2-git-send-email-festevam@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Fabio Estevam 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 --- 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