From: Fabio Estevam Date: Sun, 15 Oct 2017 13:21:07 +0000 (-0200) Subject: udoo: Remove cpu type check prior to setup_sata() X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a6a15fedd1a529936b0a46ade1d776740dbef70f;p=bsp%2Fu-boot.git udoo: 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. Signed-off-by: Fabio Estevam Signed-off-by: Otavio Salvador --- diff --git a/board/udoo/udoo.c b/board/udoo/udoo.c index a359626b81..562f0d863e 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; }