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 <fabio.estevam@nxp.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
506abdb4ee
commit
d7f7eb749f
|
|
@ -435,8 +435,6 @@ int board_early_init_f(void)
|
||||||
{
|
{
|
||||||
setup_iomux_uart();
|
setup_iomux_uart();
|
||||||
#ifdef CONFIG_SATA
|
#ifdef CONFIG_SATA
|
||||||
/* Only mx6q wandboard has SATA */
|
|
||||||
if (is_cpu_type(MXC_CPU_MX6Q))
|
|
||||||
setup_sata();
|
setup_sata();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue