]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
udoo: Remove cpu type check prior to setup_sata()
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 15 Oct 2017 13:21:07 +0000 (11:21 -0200)
committerStefano Babic <sbabic@denx.de>
Tue, 31 Oct 2017 10:13:56 +0000 (11:13 +0100)
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>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
board/udoo/udoo.c

index a359626b818a727d3e83ecf61c3d428afac02e5d..562f0d863e02c443fd4adfff5ddc9aaad1247783 100644 (file)
@@ -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;
 }