summaryrefslogtreecommitdiff
path: root/board/udoo
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-10-15 11:21:07 -0200
committerStefano Babic <sbabic@denx.de>2017-10-31 11:13:56 +0100
commit0d6a41edb567ab1fde90fecb1e12a77a7b9ed888 (patch)
treef58f0c64d250d3c3784d2fbf885a2870efd71662 /board/udoo
parentd7f7eb749f6eb18e55162dbe4bde2e2d8341bb82 (diff)
downloadu-boot-0d6a41edb567ab1fde90fecb1e12a77a7b9ed888.tar.gz
u-boot-0d6a41edb567ab1fde90fecb1e12a77a7b9ed888.tar.bz2
u-boot-0d6a41edb567ab1fde90fecb1e12a77a7b9ed888.zip
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 <fabio.estevam@nxp.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'board/udoo')
-rw-r--r--board/udoo/udoo.c3
1 files changed, 1 insertions, 2 deletions
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;
}