summaryrefslogtreecommitdiff
path: root/board/freescale/mx6q_sabresd/mx6q_sabresd.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/mx6q_sabresd/mx6q_sabresd.c')
-rw-r--r--board/freescale/mx6q_sabresd/mx6q_sabresd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/freescale/mx6q_sabresd/mx6q_sabresd.c b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
index 57173a4..6b603e8 100644
--- a/board/freescale/mx6q_sabresd/mx6q_sabresd.c
+++ b/board/freescale/mx6q_sabresd/mx6q_sabresd.c
@@ -1755,7 +1755,8 @@ int board_init(void)
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
setup_uart();
- setup_sata();
+ if (cpu_is_mx6q())
+ setup_sata();
#ifdef CONFIG_VIDEO_MX5
/* Enable lvds power */
@@ -1995,7 +1996,9 @@ int checkboard(void)
break;
}
- printf("SATA PDDQ: %s\n", ((readl(SATA_ARB_BASE_ADDR + PORT_PHY_CTL)
+ if (cpu_is_mx6q())
+ printf("SATA PDDQ: %s\n", ((readl(SATA_ARB_BASE_ADDR
+ + PORT_PHY_CTL)
& PORT_PHY_CTL_PDDQ_LOC)>>20) ? "enabled" : "disabled");
#ifdef CONFIG_SECURE_BOOT
if (check_hab_enable() == 1)