From: Fabio Estevam Date: Sun, 15 Oct 2017 13:21:06 +0000 (-0200) Subject: wandboard: Remove cpu type check prior to setup_sata() X-Git-Tag: v2017.11-rc4~22^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7f7eb749f6eb18e55162dbe4bde2e2d8341bb82;p=u-boot wandboard: 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. This also brings the benefit to allowing setup_sata() to be called for the mx6qp wandboard variant. Signed-off-by: Fabio Estevam Reviewed-by: Heinrich Schuchardt --- diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c index 051560fb01..1e7c11e670 100644 --- a/board/wandboard/wandboard.c +++ b/board/wandboard/wandboard.c @@ -435,9 +435,7 @@ int board_early_init_f(void) { setup_iomux_uart(); #ifdef CONFIG_SATA - /* Only mx6q wandboard has SATA */ - if (is_cpu_type(MXC_CPU_MX6Q)) - setup_sata(); + setup_sata(); #endif return 0;